patch-2.1.128 linux/mm/vmscan.c
Next file: linux/net/802/fddi.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Nov 8 14:12:21 1998
- Orig file:
v2.1.127/linux/mm/vmscan.c
- Orig date:
Sun Nov 8 14:03:13 1998
diff -u --recursive --new-file v2.1.127/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -538,6 +538,8 @@
do {
if (!do_try_to_free_page(0))
break;
+ if (nr_free_pages > 2*freepages.high)
+ break;
} while (time_before_eq(jiffies,end_time));
}
/* As if we could ever get here - maybe we want to make this killable */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov