[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: GCC proposal for "@" asm constraint

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.


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

 \ /
  Last update: 2005-03-22 12:39    [W:0.168 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site