diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-11-16 11:32:10 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 22:54:08 (GMT) |
commit | 8dbde28d9711475adfe0e9c88505e38743cdc2a7 (patch) | |
tree | 0f41aade985a5626ece9c2007fde14c1ced2a065 /include/linux/if_ether.h | |
parent | 68f8353b480e5f2e136c38a511abdbb88eaa8ce2 (diff) | |
download | linux-fsl-qoriq-8dbde28d9711475adfe0e9c88505e38743cdc2a7.tar.xz |
[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 <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_ether.h')
0 files changed, 0 insertions, 0 deletions