From 92a34c0c6d115a3ed4f3eade5f92fe9bef406c34 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Tue, 9 Aug 1994 10:42:41 +0000 Subject: [PATCH] Removed an old, obsolete call to vmmeter(). This is called now in the schedcpu() routine in kern/kern_synch.c. This extra call to vmmeter() in vm_glue.c was what was totally messing up the load average calculations. --- sys/vm/vm_glue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 70fd00d6a87..4fcfb977c4c 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -59,7 +59,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_glue.c,v 1.3 1994/08/02 07:55:19 davidg Exp $ + * $Id: vm_glue.c,v 1.4 1994/08/04 03:06:43 davidg Exp $ */ #include @@ -383,7 +383,6 @@ scheduler() loop: ntries = 0; - vmmeter(); curidle = cp_time[CP_IDLE]; currun = cp_time[CP_USER] + cp_time[CP_SYS] + cp_time[CP_NICE];