summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-09 10:42:41 +0000
committerdg <dg@FreeBSD.org>1994-08-09 10:42:41 +0000
commit82430e77cf00be9b57192bbe19a00c0d9757ef30 (patch)
treedef12a6221fc79fbf463ca8a2afcb8f66227681d /sys/vm/vm_glue.c
parent87bb773c712af970554da69e5ca5925cab3be879 (diff)
downloadFreeBSD-src-82430e77cf00be9b57192bbe19a00c0d9757ef30.zip
FreeBSD-src-82430e77cf00be9b57192bbe19a00c0d9757ef30.tar.gz
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.
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r--sys/vm/vm_glue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 70fd00d..4fcfb97 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 <sys/param.h>
@@ -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];
OpenPOWER on IntegriCloud