* [PATCH] 1/4 -ac to newer rmap
@ 2002-11-13 11:37 Rik van Riel
0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 2002-11-13 11:37 UTC (permalink / raw)
To: Alan Cox; +Cc: Arjan van de Ven, linux-mm
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.691 -> 1.692
# mm/vmscan.c 1.78 -> 1.79
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/09/18 riel@duckman.distro.conectiva 1.692
# make OOM detection a bit more agressive
# --------------------------------------------
#
diff -Nru a/mm/vmscan.c b/mm/vmscan.c
--- a/mm/vmscan.c Wed Nov 13 08:54:45 2002
+++ b/mm/vmscan.c Wed Nov 13 08:54:45 2002
@@ -691,7 +691,7 @@
* Hmm.. Cache shrink failed - time to kill something?
* Mhwahahhaha! This is the part I really like. Giggle.
*/
- if (!ret && free_min(ANY_ZONE) > 0)
+ if (ret < free_low(ANY_ZONE))
out_of_memory();
return ret;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-13 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-13 11:37 [PATCH] 1/4 -ac to newer rmap Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox