slub: reduce differences between SMP and NUMA
authorChristoph Lameter <cl@linux.com>
Tue, 28 Sep 2010 13:10:26 +0000 (08:10 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:44:10 +0000 (10:44 +0300)
commit7340cc84141d5236c5dd003359ee921513cd9b84
treefec0ddb018a948773df32cf109c15f4bd596c97d
parented59ecbf8904a40cf0a1ee5d6f100d76d2f44e5f
slub: reduce differences between SMP and NUMA

Reduce the #ifdefs and simplify bootstrap by making SMP and NUMA as much alike
as possible. This means that there will be an additional indirection to get to
the kmem_cache_node field under SMP.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slub_def.h
mm/slub.c