From: Andrew Morton Update for slab-remove-cachep-spinlock.patch Cc: Al Viro Cc: Manfred Spraul Cc: Alexander Nyberg Cc: Pekka Enberg Cc: Christoph Lameter Cc: Ravikiran Thirumalai Signed-off-by: Andrew Morton --- mm/slab.c | 2 -- 1 files changed, 2 deletions(-) diff -puN mm/slab.c~slab-leaks3-locking-fix mm/slab.c --- devel/mm/slab.c~slab-leaks3-locking-fix 2006-03-11 02:46:25.000000000 -0800 +++ devel-akpm/mm/slab.c 2006-03-11 02:46:25.000000000 -0800 @@ -3993,7 +3993,6 @@ static int leaks_show(struct seq_file *m n[1] = 0; - spin_lock(&cachep->spinlock); for_each_online_node(node) { l3 = cachep->nodelists[node]; if (!l3) @@ -4013,7 +4012,6 @@ static int leaks_show(struct seq_file *m spin_unlock_irq(&l3->list_lock); } name = cachep->name; - spin_unlock(&cachep->spinlock); if (n[0] == n[1]) { /* Increase the buffer size */ mutex_unlock(&cache_chain_mutex); _