mm/sl[aou]b: Common alignment code
authorChristoph Lameter <cl@linux.com>
Wed, 28 Nov 2012 16:23:16 +0000 (16:23 +0000)
committerPekka Enberg <penberg@kernel.org>
Tue, 11 Dec 2012 10:14:28 +0000 (12:14 +0200)
Extract the code to do object alignment from the allocators.
Do the alignment calculations in slab_common so that the
__kmem_cache_create functions of the allocators do not have
to deal with alignment.

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

diff --cc mm/slab.c
Simple merge
diff --cc mm/slab.h
Simple merge
Simple merge
diff --cc mm/slob.c
Simple merge
diff --cc mm/slub.c
Simple merge