aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1998-03-08 18:19:17 +0000
committerJohn Dyson <dyson@FreeBSD.org>1998-03-08 18:19:17 +0000
commitbe01eafd5f9d5113bd5f444ae6eb1d7c5748ab9b (patch)
tree5ef656cafbddd35f6aa2b394a176474fdc479231
parent6215e8627244538afb029afb6752cfe3693db23d (diff)
downloadsrc-be01eafd5f9d5113bd5f444ae6eb1d7c5748ab9b.tar.gz
src-be01eafd5f9d5113bd5f444ae6eb1d7c5748ab9b.zip
Quell unneeded pageout daemon activity.
Notes
Notes: svn path=/head/; revision=34321
-rw-r--r--sys/vm/vm_pageout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 3eff5ed7eea9..7a2d81bd2d74 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.c,v 1.117 1998/03/01 04:18:28 dyson Exp $
+ * $Id: vm_pageout.c,v 1.118 1998/03/07 21:37:19 dyson Exp $
*/
/*
@@ -851,7 +851,7 @@ rescan0:
(cnt.v_free_count + cnt.v_inactive_count + cnt.v_cache_count);
if (page_shortage <= 0) {
if (pages_freed == 0) {
- page_shortage = cnt.v_free_min - cnt.v_free_count;
+ page_shortage = cnt.v_free_min - (cnt.v_free_count + cnt.v_cache_count);
} else {
page_shortage = 1;
}