ahc/ahd locking

Peter Avalos pavalos at theshell.com
Tue Jan 8 17:32:54 PST 2008


On Tue, Jan 08, 2008 at 12:31:19AM -0500, Peter Avalos wrote:
> 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?
> 

Ok, it figures that once I send this email that my system would die.

The system was totally locked, and I couldn't exit to the debugger.
How is this "readily debuggable"?

--Peter
Attachment:
pgp00004.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00004.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20080108/7ca9eaf4/attachment-0018.obj>


More information about the Kernel mailing list