slab: remove one NR_CPUS dependency
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 25 Jul 2011 06:55:42 +0000 (08:55 +0200)
committerPekka Enberg <penberg@kernel.org>
Thu, 28 Jul 2011 10:40:08 +0000 (13:40 +0300)
commitacfe7d74484d6ccb25a80b8ff259fceceac0473e
tree0de2cb086983813091e426015e218643016b3bc9
parent95b6886526bb510b8370b625a49bc0ab3b8ff10f
slab: remove one NR_CPUS dependency

Reduce high order allocations in do_tune_cpucache() for some setups.
(NR_CPUS=4096 -> we need 64KB)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c