summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2012-09-04 23:38:33 +0000
committerPekka Enberg <penberg@kernel.org>2012-09-05 12:00:37 +0300
commitcce89f4f6911286500cf7be0363f46c9b0a12ce0 (patch)
treec60d648404ea213d2f3d657c64fb86b2243e6a89 /mm/slob.c
parent8a13a4cc80bb25c9eab2e7e56bab724fcfa55fce (diff)
downloadop-kernel-dev-cce89f4f6911286500cf7be0363f46c9b0a12ce0.zip
op-kernel-dev-cce89f4f6911286500cf7be0363f46c9b0a12ce0.tar.gz
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/slob.c')
-rw-r--r--mm/slob.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slob.c b/mm/slob.c
index cac05d9..3edfeaa 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -524,7 +524,6 @@ int __kmem_cache_create(struct kmem_cache *c, unsigned long flags)
if (c->align < align)
c->align = align;
- c->refcount = 1;
return 0;
}
OpenPOWER on IntegriCloud