summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorChristoph Lameter2012-09-05 01:38:33 +0200
committerPekka Enberg2012-09-05 11:00:37 +0200
commitcce89f4f6911286500cf7be0363f46c9b0a12ce0 (patch)
treec60d648404ea213d2f3d657c64fb86b2243e6a89 /mm/slub.c
parentmm/sl[aou]b: Shrink __kmem_cache_create() parameter lists (diff)
downloadkernel-qcow2-linux-cce89f4f6911286500cf7be0363f46c9b0a12ce0.tar.gz
kernel-qcow2-linux-cce89f4f6911286500cf7be0363f46c9b0a12ce0.tar.xz
kernel-qcow2-linux-cce89f4f6911286500cf7be0363f46c9b0a12ce0.zip
mm/sl[aou]b: Move kmem_cache refcounting to common code
Get rid of the refcount stuff in the allocators and do that part of kmem_cache management in the common code. 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index d8ee419d5a15..0b122d8ec216 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3093,7 +3093,6 @@ static int kmem_cache_open(struct kmem_cache *s, unsigned long flags)
else
s->cpu_partial = 30;
- s->refcount = 1;
#ifdef CONFIG_NUMA
s->remote_node_defrag_ratio = 1000;
#endif