Subject: CVS commit: [yamt-idlelwp] src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 04/04/2007 22:28:18
Module Name:	src
Committed By:	ad
Date:		Wed Apr  4 22:28:18 UTC 2007

Modified Files:
	src/sys/kern [yamt-idlelwp]: kern_synch.c
	src/sys/sys [yamt-idlelwp]: cpu.h

Log Message:
Add cpu_did_resched() and call with the per-CPU scheduler lock held.
Needed to interlock with cpu_need_resched() on other CPUs, as there
is a short window where the flag could be clobbered while a higher
priority LWP is waiting to run.


To generate a diff of this commit:
cvs rdiff -r1.177.2.22 -r1.177.2.23 src/sys/kern/kern_synch.c
cvs rdiff -r1.7.52.3 -r1.7.52.4 src/sys/sys/cpu.h

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