Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 04/10/2007 13:11:08
Module Name:	src
Committed By:	ad
Date:		Tue Apr 10 13:11:08 UTC 2007

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

Log Message:
turnstile_wakeup: when restoring inherited priority, only lock curlwp
if its lock is sched_mutex. We can arrive here while on a sleep queue
(from eg cv_wait) and so curlwp will already be locked.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/kern/kern_turnstile.c

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