Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 02/18/2003 01:45:01
Module Name:	src
Committed By:	nathanw
Date:		Mon Feb 17 23:45:00 UTC 2003

Modified Files:
	src/sys/kern: kern_sig.c

Log Message:
Clear L_SA from all LWPs in sigexit() to prevent any upcalls or
sa_switch() invocations while exiting. Test P_SA instead of L_SA, out
of paranoia. Avoids a possible remrunqueue panic reported by Havard
Eidnes.

Release the kernel lock before calling the userret function to exit in
sigexit(). Problem noted by Paul Kranenburg.


To generate a diff of this commit:
cvs rdiff -r1.135 -r1.136 src/sys/kern/kern_sig.c

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