Subject: Re: newlock
To: Jason Thorpe <thorpej@shagadelic.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 09/11/2006 16:09:10
--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 11, 2006 at 11:55:43AM -0700, Jason Thorpe wrote:
>=20
> On Sep 11, 2006, at 11:07 AM, Bill Studenmund wrote:
>=20
> >Note, we have a potential issue here as well. In addition to the =20
> >necessity
> >of a locking order, if both locks are driver locks (have IPL cookies),
> >then we have to make sure we grab them in the right order.
>=20
> Not an issue due to the use of splraiseipl().

You're right. I've stared at it, and I think you're right, as long as we=20
raise ipl before grabbing the mutex (in the implementation).

Take care,

Bill

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFFBeyWWz+3JHUci9cRAvbHAJ0TIPwP9BpbAGqqu6n7pqfTTN9+pACfQO8C
NJ2Gnx2xiKZX1Hq9UmZfCtQ=
=vsoI
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--