]> git.baikalelectronics.ru Git - kernel.git/commit
slab: Common function to create the kmalloc array
authorChristoph Lameter <cl@linux.com>
Thu, 10 Jan 2013 19:12:17 +0000 (19:12 +0000)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Feb 2013 10:32:08 +0000 (12:32 +0200)
commit35ff752708fd70716f0ba721a1d965395673ed4a
treecb4db9a78c8eb1bd0522679d90f553d40d15f3e9
parent5792773f4b15100046c1da3cc7ad461a49874a66
slab: Common function to create the kmalloc array

The kmalloc array is created in similar ways in both SLAB
and SLUB. Create a common function and have both allocators
call that function.

V1->V2:
Whitespace cleanup

Reviewed-by: Glauber Costa <glommer@parallels.com>
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/slub.c