mm/sl[aou]b: Move list_add() to slab_common.c
authorChristoph Lameter <cl@linux.com>
Tue, 4 Sep 2012 23:38:33 +0000 (23:38 +0000)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 09:00:35 +0000 (12:00 +0300)
Move the code to append the new kmem_cache to the list of slab caches to
the kmem_cache_create code in the shared code.

This is possible now since the acquisition of the mutex was moved into
kmem_cache_create().

Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c
mm/slab_common.c
mm/slob.c
mm/slub.c

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