patch-2.4.20 linux-2.4.20/arch/arm/mm/fault-common.c

Next file: linux-2.4.20/arch/cris/config.in
Previous file: linux-2.4.20/arch/arm/mach-sa1100/generic.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/arm/mm/fault-common.c linux-2.4.20/arch/arm/mm/fault-common.c
@@ -225,8 +225,7 @@
 	 * If we are out of memory for pid1,
 	 * sleep for a while and retry
 	 */
-	tsk->policy |= SCHED_YIELD;
-	schedule();
+	yield();
 	goto survive;
 
 check_stack:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)