mm/slub: Use kmem_cache for the kmem_cache structure
authorChristoph Lameter <cl@linux.com>
Tue, 4 Sep 2012 23:06:14 +0000 (23:06 +0000)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 09:00:35 +0000 (12:00 +0300)
commit208c4358dc4a8f0fe99e49eb8d21a869b01e7d34
tree96720e634f45fb09dde6098fbe37c718413c464b
parent79576102afc24fcc6627d7a15691e432d9a2eacb
mm/slub: Use kmem_cache for the kmem_cache structure

Do not use kmalloc() but kmem_cache_alloc() for the allocation
of the kmem_cache structures in slub.

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