summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slab.c b/mm/slab.c
index addd0796a..e4db9e9e3 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1433,6 +1433,7 @@ alloc_new_slab:
/* Someone may have stolen our objs. Doesn't matter, we'll
* just come back here again.
*/
+ spin_lock_irq(&cachep->c_spinlock);
goto try_again;
}
/* Couldn't grow, but some objs may have been freed. */