summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChristoph Lameter2012-09-05 02:20:33 +0200
committerPekka Enberg2012-09-05 11:00:36 +0200
commit9b030cb865f137e1574596983face2a07e41e8b2 (patch)
tree51caca89688beefd5ba910069d5c5754140906ae /mm/slub.c
parentmm/sl[aou]b: Extract a common function for kmem_cache_destroy (diff)
downloadkernel-qcow2-linux-9b030cb865f137e1574596983face2a07e41e8b2.tar.gz
kernel-qcow2-linux-9b030cb865f137e1574596983face2a07e41e8b2.tar.xz
kernel-qcow2-linux-9b030cb865f137e1574596983face2a07e41e8b2.zip
mm/sl[aou]b: Use "kmem_cache" name for slab cache with kmem_cache struct
Make all allocators use the "kmem_cache" slabname for the "kmem_cache" structure. 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>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 724adea34384..e0d1e0470309 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3221,8 +3221,6 @@ void __kmem_cache_destroy(struct kmem_cache *s)
struct kmem_cache *kmalloc_caches[SLUB_PAGE_SHIFT];
EXPORT_SYMBOL(kmalloc_caches);
-static struct kmem_cache *kmem_cache;
-
#ifdef CONFIG_ZONE_DMA
static struct kmem_cache *kmalloc_dma_caches[SLUB_PAGE_SHIFT];
#endif