mm/sl[aou]b: Do slab aliasing call from common code
authorChristoph Lameter <cl@linux.com>
Wed, 5 Sep 2012 00:18:32 +0000 (00:18 +0000)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 09:00:36 +0000 (12:00 +0300)
commitcbb79694d592e9a76880f6ef6db8feccaeee1c32
tree6eb60a253bfde73214d4dc07bed860f17f737537
parentdb265eca77000c5dafc5608975afe8dafb2a02d5
mm/sl[aou]b: Do slab aliasing call from common code

The slab aliasing logic causes some strange contortions in slub. So add
a call to deal with aliases to slab_common.c but disable it for other
slab allocators by providng stubs that fail to create aliases.

Full general support for aliases will require additional cleanup passes
and more standardization of fields in kmem_cache.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.h
mm/slab_common.c
mm/slub.c