Subject: Re: Does BUFQ_GET/PUT need a lock?
To: Gordon Waidhofer <gww@traakan.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 07/22/2004 09:52:38
--Apple-Mail-27-538808479
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Jul 22, 2004, at 1:55 AM, Gordon Waidhofer wrote:
> dev/ata/wd.c/wdstrategy() does not lock.
> dev/scsipi/sd.c/wdstrategy() does not lock.
> I've not checked others, but these are the
> biggies.
There is no well-defined locking protocol for this. But it doesn't
matter right now, since NetBSD's MP only allows one processor to be
running in the kernel at a time (for the moment).
So, the answer is "it needs a lock eventually, but don't lose any sleep
over it right now."
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-27-538808479
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFA//DaOpVKkaBm8XkRAknNAJ4wW68pUURBnHQIUaT3La6LZd0ypwCfQnyk
2Z5vC5CUdKv/yirQ61niZJQ=
=JxwZ
-----END PGP SIGNATURE-----
--Apple-Mail-27-538808479--