Subject: CVS commit: [yamt-idlelwp] src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 03/20/2007 11:26:52
Module Name: src
Committed By: yamt
Date: Tue Mar 20 11:26:51 UTC 2007
Modified Files:
src/sys/kern [yamt-idlelwp]: kern_clock.c sched_4bsd.c
src/sys/sys [yamt-idlelwp]: sched.h
Log Message:
- revive schedclock and rename sched_clock to sched_schedclock.
(yes, a poor name...)
make schedclock check if curlwp is idle.
- statclock: in the case of schedhz==0, call schedclock periodically,
regardless of idleness.
- fix a comment. (don't assume schedhz==0.)
To generate a diff of this commit:
cvs rdiff -r1.106.2.4 -r1.106.2.5 src/sys/kern/kern_clock.c
cvs rdiff -r1.1.2.12 -r1.1.2.13 src/sys/kern/sched_4bsd.c
cvs rdiff -r1.30.2.9 -r1.30.2.10 src/sys/sys/sched.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.