patch-2.4.20 linux-2.4.20/mm/oom_kill.c

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

diff -urN linux-2.4.19/mm/oom_kill.c linux-2.4.20/mm/oom_kill.c
@@ -188,8 +188,7 @@
 	 * killing itself before someone else gets the chance to ask
 	 * for more memory.
 	 */
-	current->policy |= SCHED_YIELD;
-	schedule();
+	yield();
 	return;
 }
 

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