From: Eric Dumazet Date: Fri, 16 Nov 2007 11:32:10 +0000 (-0800) Subject: [NET]: NET_CLS_ROUTE : convert ip_rt_acct to per_cpu variables X-Git-Tag: v2.6.25-rc1~1162^2~1416 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dbde28d9711475adfe0e9c88505e38743cdc2a7;p=pandora-kernel.git [NET]: NET_CLS_ROUTE : convert ip_rt_acct to per_cpu variables ip_rt_acct needs 4096 bytes per cpu to perform some accounting. It is actually allocated as a single huge array [4096*NR_CPUS] (rounded up to a power of two) Converting it to a per cpu variable is wanted to : - Save space on machines were num_possible_cpus() < NR_CPUS - Better NUMA placement (each cpu gets memory on its node) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed