Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 10/01/2007 22:14:24
Module Name:	src
Committed By:	ad
Date:		Mon Oct  1 22:14:24 UTC 2007

Modified Files:
	src/sys/kern: kern_idle.c kern_synch.c
	src/sys/sys: cpu.h

Log Message:
Enter mi_switch() from the idle loop if ci_want_resched is set. If there
are no jobs to run it will clear it while under lock. Should fix idle.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/kern/kern_idle.c
cvs rdiff -r1.195 -r1.196 src/sys/kern/kern_synch.c
cvs rdiff -r1.11 -r1.12 src/sys/sys/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.