commit | 20cea9683ecc6dd75a80c0dd02dc69c64e95be75 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Fri Jul 06 15:25:13 2012 -0500 |
committer | Pekka Enberg <penberg@kernel.org> | Mon Jul 09 12:13:42 2012 +0300 |
tree | c52994730d2d280f9300197cc4f561b15e3dd4b2 | |
parent | 18004c5d4084d965aa1396392706b8688306427a [diff] |
mm, sl[aou]b: Move kmem_cache_create mutex handling to common code 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>