patch-2.1.41 linux/mm/slab.c

Next file: linux/mm/vmscan.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.40/linux/mm/slab.c linux/mm/slab.c
@@ -1433,6 +1433,7 @@
 			/* 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. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov