Re: spin_trylock broken on UP?

Brad Proctor (fredlie@sprynet.com)
Thu, 09 Dec 1999 20:58:56 -0500


> I'm a little puzzled by the uniprocessor code for spinlocks in
> include/asm-i386/spinlock.h. Parsing through the DEBUG_SPINLOCK
> business, I see that default is to make all the spinlock operations
> total NOPs. I expect that with DEBUG_SPINLOCK = 0, my code is totally
> broken. It is OK with DEBUG_SPINLOCK is 1.

You mean 'include/linux/spinlock.h'. I've been wondering about this
lately
as well. Anybody with an explaination please CC me as well.

Brad Proctor

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/