cvs commit: src/sys/kern sched_4bsd.c
John Baldwin
jhb at FreeBSD.org
Fri Dec 26 09:07:30 PST 2003
jhb 2003/12/26 09:07:29 PST
FreeBSD src repository
Modified files:
sys/kern sched_4bsd.c
Log:
Create a separate kthread that executes sched_cpu() once a second. Because
sched_cpu() locks an sx lock (allproc_lock) which can sleep if it fails to
acquire the lock, it is not safe to execute this in a callout handler from
softclock().
Revision Changes Path
1.29 +21 -6 src/sys/kern/sched_4bsd.c
More information about the cvs-src
mailing list