ahc/ahd locking

Peter Avalos pavalos at theshell.com
Mon Jan 7 21:36:22 PST 2008


On Thu, Jan 03, 2008 at 11:06:20AM -0800, Matthew Dillon wrote:
> 
> :Here's my latest patch.  The difference from the last is that I interlocked
> :the tsleeps and asserted that the serializer is held in the interrupt
> :handler.
> 
>     It looks pretty good but I have no way to test it.  Insofar as the
>     serializer goes, if you make a mistake you'll probably deadlock a
>     thread or three, but it should be readily debuggable.
> 

So far so good.  What are your thoughts on using INTR_MPSAFE?

--Peter
Attachment:
pgp00003.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20080107/27e3cdb4/attachment-0020.obj>


More information about the Kernel mailing list