. load average calculation changed to calculate it all over every tick
instead of keeping a running total of enqueued processes (because somehow the load average was broken) . added SI_KPROC_TAB to get a copy of kernel process table from PM, for a top implementation . fixed arg to sys_nice() to make it an endpoint, not a slot number
This commit is contained in:
@@ -145,9 +145,6 @@ PUBLIC void main()
|
||||
alloc_segments(rp);
|
||||
}
|
||||
|
||||
/* Special compensation for IDLE - don't let it count in the load average. */
|
||||
kloadinfo.procs_enqueued--;
|
||||
|
||||
#if ENABLE_BOOTDEV
|
||||
/* Expect an image of the boot device to be loaded into memory as well.
|
||||
* The boot device is the last module that is loaded into memory, and,
|
||||
|
||||
Reference in New Issue
Block a user