]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a59561c0c4cf165f18e36f9431623aa7bf62ed9
tree1287ce1e1633067f8bf2cf9f93f1d6fe8a1f8908
parent497a5c358b617c99a037c723943fb5dc3327d748
mm/sl[aou]b: Common alignment code

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