Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 10/09/2002 19:57:28
Module Name: syssrc
Committed By: nathanw
Date: Wed Oct 9 16:57:28 UTC 2002
Modified Files:
syssrc/sys/kern [nathanw_sa]: kern_sa.c
Log Message:
If sa_switch() fails, have the next LWP go into sa_yield() rather than
blithely calling mi_switch(), so that the invariants about running
vs. idle LWPs are maintained. Also, be sure not to set L_SA_UPCALL
when waking up if we didn't successfully make the BLOCKED upcall.
Add some stack count debugging.
To generate a diff of this commit:
cvs rdiff -r1.1.2.33 -r1.1.2.34 syssrc/sys/kern/kern_sa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.