Subject: Re: Please audit pool use in your code!
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 07/19/2006 16:03:25
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jul 19, 2006 at 07:38:08PM +0200, Manuel Bouyer wrote:
> On Wed, Jul 19, 2006 at 01:22:59PM -0400, Thor Lancelot Simon wrote:
> >=20
> > I ask all developers to _please_ look at any code in which they have
> > used the pool allocator and double-check that any uses of pool_put/pool=
_get
> > which could be reached from interrupt context are bracketed by the corr=
ect
> > spl/splx calls to block such interrupts.
>=20
> Do you know which pool gets corrupted ? As pools works on full pages, and
> items are usually much smaller, it's likely that the item which gets
> corrupted is of the same kind as the one that caused the corruption.
The FreeBSD folks had issues with items that weren't the same kind, but=20
were the same size as others. So what size items are we looking at?
Take care,
Bill
--IS0zKkzwUGydFO0o
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFEvro9Wz+3JHUci9cRAoMdAJ4p+b3vcwMk0Thjy+crUn12g7T/kgCfUH7a
TqcXeZ4Ei0DfEGvGKmfy1g4=
=mJvY
-----END PGP SIGNATURE-----
--IS0zKkzwUGydFO0o--