Subject: Re: newlock
To: None <tech-kern@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 09/06/2006 09:00:26
--PmA2V3Z32TCmWXqI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 06, 2006 at 07:59:21AM +0200, Joerg Sonnenberger wrote:
> On Tue, Sep 05, 2006 at 03:40:39PM -0700, Bill Studenmund wrote:
> > Another would be an iSCSI initiator where splbio() and splnet() get
> > mingled. And heven help someone trying to do iSCSI over ppp. :-)
> >=20
> > Other examples would be (could be) where vnd on NFS mingles splbio() an=
d=20
> > splnet().
>=20
> How much sense do the various IPL levels actually make when a fast spin
> lock (which basically has to block local interrupts anyway) is available?

A lot. The IPL levels are how we tell a "fast spin lock" what interrupt to=
=20
actually block.

Take care,

Bill

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

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

iD8DBQFE/vCaWz+3JHUci9cRArOCAJ9RWic2wQ3a6xZjyzJiCIzYoL9cOgCdGamr
fY9armbIsMFfighzKNDFTHY=
=EDDf
-----END PGP SIGNATURE-----

--PmA2V3Z32TCmWXqI--