patch-2.1.129 linux/mm/vmscan.c
Next file: linux/net/802/fddi.c
Previous file: linux/mm/swapfile.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 17 17:37:09 1998
- Orig file:
v2.1.128/linux/mm/vmscan.c
- Orig date:
Thu Nov 12 16:21:25 1998
diff -u --recursive --new-file v2.1.128/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -538,7 +538,7 @@
do {
if (!do_try_to_free_page(0))
break;
- if (nr_free_pages > 2*freepages.high)
+ if (nr_free_pages > freepages.high + SWAP_CLUSTER_MAX)
break;
} while (time_before_eq(jiffies,end_time));
}
@@ -621,8 +621,6 @@
* priority.
*/
want_wakeup = 0;
- if (buffer_over_max() || pgcache_over_max())
- want_wakeup = 1;
pages = nr_free_pages;
if (pages < freepages.high)
want_wakeup = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov