commit | 83b6b1f5d13414d0cb5c4f0a567a6aec0af073bd | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Sep 10 07:00:25 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 13 20:02:50 2010 -0700 |
tree | aa3db3ccfefbb232c0acc01fac52873d7ed6d048 | |
parent | efbc2d7cfa67a9753cd45eb7eee8c9ad10c8b74c [diff] |
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>