From: Eric Dumazet Date: Fri, 10 Sep 2010 07:00:25 +0000 (+0000) Subject: flow: better memory management X-Git-Tag: v2.6.37-rc1~147^2~470 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83b6b1f5d13414d0cb5c4f0a567a6aec0af073bd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed