]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit4590685546a374fb0f60682ce0e3a6fd48911d46
tree1287ce1e1633067f8bf2cf9f93f1d6fe8a1f8908
parent2f9baa9fcf8d0a204ca129a671d6086cc100faab
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