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 00:31:19 -0500
Mail-followup-to: kernel@crater.dragonflybsd.org

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



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