summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-03-09 06:53:27 +0000
committerdyson <dyson@FreeBSD.org>1996-03-09 06:53:27 +0000
commit5abad5fc2d39c2263eca8f9e2f09b1f46b608923 (patch)
tree791074bba916629cbfe3bd5e617e9306460720d2
parentc455617892b7768767b3ce378d0ed69e01119211 (diff)
downloadFreeBSD-src-5abad5fc2d39c2263eca8f9e2f09b1f46b608923.zip
FreeBSD-src-5abad5fc2d39c2263eca8f9e2f09b1f46b608923.tar.gz
Fix a calculation for a paging parameter.
-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 7e92337..a835875 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.65 1996/01/31 12:44:33 davidg Exp $
+ * $Id: vm_pageout.c,v 1.66 1996/02/22 10:57:37 davidg Exp $
*/
/*
@@ -861,7 +861,7 @@ vm_pageout()
cnt.v_free_target = 3 * cnt.v_free_min + cnt.v_free_reserved;
cnt.v_free_min += cnt.v_free_reserved;
- if (cnt.v_page_count > 1024) {
+ if (cnt.v_free_count > 1024) {
cnt.v_cache_max = (cnt.v_free_count - 1024) / 2;
cnt.v_cache_min = (cnt.v_free_count - 1024) / 8;
cnt.v_inactive_target = 2*cnt.v_cache_min + 192;
OpenPOWER on IntegriCloud