Subject: PR/32631 CVS commit: src/sys/kern
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 01/26/2006 15:10:03
The following reply was made to PR kern/32631; it has been noted by GNATS.

From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32631 CVS commit: src/sys/kern
Date: Thu, 26 Jan 2006 15:07:26 +0000 (UTC)

 Module Name:	src
 Committed By:	christos
 Date:		Thu Jan 26 15:07:26 UTC 2006
 
 Modified Files:
 	src/sys/kern: subr_pool.c
 
 Log Message:
 PR/32631: Yves-Emmanuel JUTARD: Fix DIAGNOSTIC panic in the pool code. At
 the time pool_get() calls pool_catchup(), pp has been free'd but it is still
 in the "entered" state. The chain pool_catchup() -> pool_allocator_alloc()
 -> pool_reclaim() on pp fails because pp is still in the "entered" state.
 Call pr_leave() before calling calling pool_catchup() to avoid this.
 
 Thanks for the excellent analysis!
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.110 -r1.111 src/sys/kern/subr_pool.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.