spin_trylock_wr() patch

Matthew Dillon dillon at apollo.backplane.com
Tue Jun 3 16:41:20 PDT 2008


: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 at backplane.com>





More information about the Kernel mailing list