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
-  Lines: 8
-  Date:
Tue May 27 11:45:01 1997
-  Orig file: 
v2.1.40/linux/mm/slab.c
-  Orig date: 
Sat May 24 09:10:25 1997
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