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)
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

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