Subject: Re: CVS commit: src/sys/kern
To: Perry E. Metzger <perry@piermont.com>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 04/16/2006 01:42:29
"Perry E. Metzger" wrote:

> Simon Burge <simonb@netbsd.org> writes:
> > Module Name:	src
> > Committed By:	simonb
> > Date:		Sat Apr 15 14:23:11 UTC 2006
> >
> > Modified Files:
> > 	src/sys/kern: subr_pool.c
> >
> > Log Message:
> > Add a DEBUG check that panics if pool_init() is called more than
> > once on the same pool.
> >
> > As discussed on tech-kern a few months ago.
> 
> Are pools initialized so often that this shouldn't always happen? I
> didn't think pool_init was that performance critical...

The discussion on tech-kern has the reasons for this change.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/