Subject: CVS commit: src/sys
To: None <>
From: Christian Limpach <>
List: source-changes
Date: 11/12/2003 21:27:46
Module Name:	src
Committed By:	cl
Date:		Wed Nov 12 21:27:46 UTC 2003

Modified Files:
	src/sys/kern: kern_sa.c
	src/sys/sys: savar.h

Log Message:
Prevent sa_newcachelwp() from creating new LWPs when the process is exiting.
This should fix PR 23418 which was also reported by Thomas Klausner and
Ian Fry (who also provided core dumps for analysis - thanks!).

Also g/c sa_yieldcall since it's now safe to put LWPs back into the cache.
Also return stacks in failure case.

To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/sys/kern/kern_sa.c
cvs rdiff -r1.11 -r1.12 src/sys/sys/savar.h

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