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

Re: spin_trylock_wr() patch


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jun 2008 16:37:51 -0700 (PDT)

:I think there is another issue in the loop that tries to clear the
:shared cached bits.
:
:We fail to get the lock if some CPU has its bit set and is owning
:*another* spinlock (or none).  It should presumably fail if still
:holding the lock we're trying to get.

    Both of your patches look on the money to me.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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