patch-2.4.22 linux-2.4.22/mm/oom_kill.c
Next file: linux-2.4.22/mm/shmem.c
Previous file: linux-2.4.22/mm/mremap.c
Back to the patch index
Back to the overall index
-  Lines: 11
 -  Date:
2003-08-25 04:44:44.000000000 -0700
 -  Orig file: 
linux-2.4.21/mm/oom_kill.c
 -  Orig date: 
2002-11-28 15:53:15.000000000 -0800
 
diff -urN linux-2.4.21/mm/oom_kill.c linux-2.4.22/mm/oom_kill.c
@@ -61,6 +61,10 @@
 
 	if (!p->mm)
 		return 0;
+
+	if (p->flags & PF_MEMDIE)
+		return 0;
+
 	/*
 	 * The memory size of the process is the basis for the badness.
 	 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)