diff options
author | Christoph Lameter <cl@linux.com> | 2012-09-04 19:38:33 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-09-05 05:00:37 -0400 |
commit | cce89f4f6911286500cf7be0363f46c9b0a12ce0 (patch) | |
tree | c60d648404ea213d2f3d657c64fb86b2243e6a89 /mm/slub.c | |
parent | 8a13a4cc80bb25c9eab2e7e56bab724fcfa55fce (diff) |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -3093,7 +3093,6 @@ static int kmem_cache_open(struct kmem_cache *s, unsigned long flags) | |||
3093 | else | 3093 | else |
3094 | s->cpu_partial = 30; | 3094 | s->cpu_partial = 30; |
3095 | 3095 | ||
3096 | s->refcount = 1; | ||
3097 | #ifdef CONFIG_NUMA | 3096 | #ifdef CONFIG_NUMA |
3098 | s->remote_node_defrag_ratio = 1000; | 3097 | s->remote_node_defrag_ratio = 1000; |
3099 | #endif | 3098 | #endif |