summaryrefslogtreecommitdiffstats
path: root/drivers/net/sundance.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-10 09:00:25 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-14 05:02:50 +0200
commit83b6b1f5d13414d0cb5c4f0a567a6aec0af073bd (patch)
treeaa3db3ccfefbb232c0acc01fac52873d7ed6d048 /drivers/net/sundance.c
parentsfc: Fix order of channel_name array dimensions (diff)
downloadlinux-83b6b1f5d13414d0cb5c4f0a567a6aec0af073bd.tar.xz
linux-83b6b1f5d13414d0cb5c4f0a567a6aec0af073bd.zip
flow: better memory management
Allocate hash tables for every online cpus, not every possible ones. NUMA aware allocations. Dont use a full page on arches where PAGE_SIZE > 1024*sizeof(void *) misc: __percpu , __read_mostly, __cpuinit annotations flow_compare_t is just an "unsigned long" Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sundance.c')
0 files changed, 0 insertions, 0 deletions