Subject: PR/32962 CVS commit: src/sys/kern
To: None <mrg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: matthew green <mrg@netbsd.org>
List: netbsd-bugs
Date: 10/22/2006 20:50:02
The following reply was made to PR kern/32962; it has been noted by GNATS.

From: matthew green <mrg@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/32962 CVS commit: src/sys/kern
Date: Sun, 22 Oct 2006 20:48:45 +0000 (UTC)

 Module Name:	src
 Committed By:	mrg
 Date:		Sun Oct 22 20:48:45 UTC 2006
 
 Modified Files:
 	src/sys/kern: kern_sig.c
 
 Log Message:
 avoid a problem in kpsignal2() holding sched_lock while wanting to call
 pool_get().  pre-allocate the ksiginfo_t before taking sched_lock and
 use it if necessary, or freeing it if it is unused.
 
 rename ksiginfo_{get,put}() to ksiginfo_{dequeue,queue}() (idea from chuq.)
 
 this fixes PR#32962.  thanks to christos, chuq and go for help/ideas.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.230 -r1.231 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.