]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4d0f0ac1db7350402a01cd38f21935f075dcdc1
treefa3f57ff3e2d3f4f866d84dd9d634ade43941be8
parentc7520dfac92de09b952d2410b79e2d0f8a69c82e
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