Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 10/31/2003 23:36:50
Module Name:	src
Committed By:	cl
Date:		Fri Oct 31 23:36:50 UTC 2003

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

Log Message:
Avoid race condition where an LWP is put into the cache before
its state is saved:
- don't sa_putcachelwp() in sa_vp_repossess/sa_vp_donate
- only defer saving the event LWP's state
- sa_putcachelwp() after the interrupted LWP's state is saved


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/kern/kern_sa.c

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