John Baldwin wrote:
> jhb         2000/09/15 15:00:24 PDT
>   Modified files:
>     sys/kern             kern_idle.c 
>     sys/vm               vm_meter.c 
>     sys/i386/isa         ithread.c 
>     sys/sys              proc.h 
>   Log:
>   - Add a new process flag P_NOLOAD that marks a process that should be
>     ignored during load average calcuations.
>   - Set this flag for the idle processes and the softinterrupt process.

This should fix the load average calculations with SMPng.  Note that the
load is still going to be higher than it used to.  This is due to the fact
that before SMPng, we did not have a process context for the idle loop.
Thus, when an interrupt occurred during the idle loop, no process was marked
runnable as a result, and that interrupt processing was not taken into
account.  Now when an interrupt occurs, we mark an interrupt thread runnable,
which increases the number of runnable processes that vmmeter finds when it
performs the load average calculations.


John Baldwin <[EMAIL PROTECTED]> --
"Power Users Use the Power to Serve!"  -

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to