mm, sl[aou]b: Move kmem_cache_create mutex handling to common code
authorChristoph Lameter <cl@linux.com>
Fri, 6 Jul 2012 20:25:13 +0000 (15:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 Jul 2012 09:13:42 +0000 (12:13 +0300)
Move the mutex handling into the common kmem_cache_create()
function.

Then we can also move more checks out of SLAB's kmem_cache_create()
into the common code.

Reviewed-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

No differences found