From 17c4c40800aafc78ddf5768e2491846b3815f50e Mon Sep 17 00:00:00 2001 From: David Greenman Date: Tue, 28 Mar 1995 05:58:35 +0000 Subject: [PATCH] Fixed typo...using wrong variable in page_shortage calculation. --- sys/vm/vm_pageout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 68accc835ef..f37287380c2 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.42 1995/03/16 18:17:28 bde Exp $ + * $Id: vm_pageout.c,v 1.43 1995/03/28 05:35:29 davidg Exp $ */ /* @@ -618,7 +618,7 @@ rescan1: (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_inactive_count; + page_shortage = cnt.v_free_min - cnt.v_free_count; } } maxscan = min(cnt.v_active_count, MAXSCAN);