Re: recursive spinlocks. Shoot.

Arjan van de Ven (arjanv@redhat.com)
19 May 2003 15:47:20 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-3032-1053352100-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-05-19 at 15:37, Peter T. Breuer wrote:
> "David Woodhouse wrote:"
> > To be honest, if any programmer is capable of committing this error and
> > not finding and fixing it for themselves, then they're also capable, an=
d
> > arguably _likely_, to introduce subtle lock ordering discrepancies whic=
h
> > will cause deadlock once in a blue moon.
> >=20
> > I don't _want_ you to make life easier for this hypothetical programmer=
.
> >=20
> > I want them to either learn to comprehend locking _properly_, or take u=
p
> > gardening instead.
>=20
> Let's quote the example from rubini & corbet of the sbull block device
> driver. The request function ends like so:

defective locking in a driver is no excuse to pamper over it with
recusrive shite.

--=_courier-3032-1053352100-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+yOBoxULwo51rQBIRAuOiAJ4sJi6j+Ytodm1IOaVI+aP7Pz65GwCfZjlN
eQ/BY56PuB59NqU3iSe988c=
=GvPm
-----END PGP SIGNATURE-----

--=_courier-3032-1053352100-0001-2--