DragonFly kernel List (threaded) for 2008-01
DragonFly BSD
DragonFly kernel List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ahc/ahd locking


From: Peter Avalos <pavalos@xxxxxxxxxxxx>
Date: Tue, 8 Jan 2008 20:26:56 -0500
Mail-followup-to: kernel@crater.dragonflybsd.org

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
Description: PGP signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]