flow: better memory management
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 10 Sep 2010 07:00:25 +0000 (07:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2010 03:02:50 +0000 (20:02 -0700)
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>

No differences found