Module Name: src Committed By: elad Date: Wed Dec 30 18:57:17 UTC 2009
Modified Files: src/sys/kern: subr_pool.c src/sys/sys: pool.h Log Message: Turn PA_INITIALIZED to a reference count for the pool allocator, and once it drops to zero destroy the mutex we initialize. This fixes the problem mentioned in http://mail-index.netbsd.org/tech-kern/2009/12/28/msg006727.html Also remove pa_flags now that it's no longer needed. Idea from matt@, okay m...@. To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/kern/subr_pool.c cvs rdiff -u -r1.67 -r1.68 src/sys/sys/pool.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.