commit | 4590685546a374fb0f60682ce0e3a6fd48911d46 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Wed Nov 28 16:23:16 2012 +0000 |
committer | Pekka Enberg <penberg@kernel.org> | Tue Dec 11 12:14:28 2012 +0200 |
tree | 1287ce1e1633067f8bf2cf9f93f1d6fe8a1f8908 | |
parent | 2f9baa9fcf8d0a204ca129a671d6086cc100faab [diff] |
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>