On Fri, 22 Sep 2000, Andrea Arcangeli wrote:
>
> This patch fixes the spinlock problems in read_lock/write_lock and also some
> alpha SMP race where clear_bit isn't enforcing a memory barrier

Why would clear_bit() be a memory barrier?

Anything that expects clear_bit() to be a memory barrier should be fixed.

Anything that wants a spinlock should use the spinlocks. Not the bit ops.
They are atomic, but they are not memory barriers.

                        Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to