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
- Lines: 10
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/mm/oom_kill.c
- Orig date:
Fri Aug 2 17:39:46 2002
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)