Re: [patch 2.6.14-rc4] i386: spinlock optimization

From: Linus Torvalds
Date: Fri Oct 14 2005 - 13:37:36 EST

On Fri, 14 Oct 2005, linux-os (Dick Johnson) wrote:
> Somehow, these spin-locks got all screwed up.


> Given: nobody has the lock. The lock variable is 0.

Your "given" is wrong.

UNLOCKED is 1, locked is 0 or negative.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at