Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [nathanw_sa] src/sys/kern
Module Name: src
Committed By: nathanw
Date: Mon Jan 6 17:29:48 UTC 2003
Modified Files:
src/sys/kern [nathanw_sa]: kern_synch.c
Log Message:
Adjust schedcpu() to make more sense in the face of multi-LWP
processes; iterate primarly over processes, calculate newcpu, and
then iterate over LWPs and calculate priorities. This avoids repeating
the newcpu calculation for each LWP in a process, which would tend to
underestimate the CPU consumed by a multi-LWP process.
To generate a diff of this commit:
cvs rdiff -r1.101.2.29 -r1.101.2.30 src/sys/kern/kern_synch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index