mm, sl[aou]b: Common definition for boot state of the slab allocators
authorChristoph Lameter <cl@linux.com>
Fri, 6 Jul 2012 20:25:11 +0000 (15:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 Jul 2012 09:13:35 +0000 (12:13 +0300)
commit97d06609158e61f6bdf538c4a6788e2de492236f
treefa3f57ff3e2d3f4f866d84dd9d634ade43941be8
parent039363f38bfe5f6281e9eae5e0518b11577d9d50
mm, sl[aou]b: Common definition for boot state of the slab allocators

All allocators have some sort of support for the bootstrap status.

Setup a common definition for the boot states and make all slab
allocators use that definition.

Reviewed-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h
mm/slab.c
mm/slab.h [new file with mode: 0644]
mm/slab_common.c
mm/slob.c
mm/slub.c