Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 10/28/2006 08:09:32
Module Name:	src
Committed By:	mrg
Date:		Sat Oct 28 08:09:32 UTC 2006

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

Log Message:
avoid allocating from ksiginfo_pool when we know we aren't going to
use it.  idea partly from yamt.  assert SCHED_ASSERT_UNLOCKED() in
all the places we call ksiginfo_queue() without a ksiginfo.

fixes recent panics detected by LOCKDEBUG.


To generate a diff of this commit:
cvs rdiff -r1.231 -r1.232 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.