Subject: kern/591: /kern/loadavg
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: None <chs@cs.cmu.edu>
List: netbsd-bugs
Date: 11/28/1994 21:35:06
>Number: 591
>Category: kern
>Synopsis: /kern/loadavg sometimes has 0 scale factor
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 28 21:35:04 1994
>Originator: Chuck Silvers
>Organization:
CMU
>Release: 1.0
>Environment:
System: NetBSD chuq.fac.cs.cmu.edu 1.0 NetBSD 1.0 (SPARC) #39: Fri Nov 18 02:33:07 EST 1994 chs@chuq.fac.cs.cmu.edu:/usr/src/sys/arch/sparc/compile/SPARC sparc
>Description:
kernfs's loadavg interface reports a scale factor of 0 until
averunnable.fscale is initialized in vm_sysctl().
>How-To-Repeat:
run "cat /kern/loadavg" (or wherever you mount kernfs) after a reboot
and before you run "uptime" or anything else that gets the load average.
>Fix:
initialize averunnable statically or something.
>Audit-Trail:
>Unformatted: