[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] waitqueue optimization, 2.4.0-test7
On Mon, Aug 28, 2000 at 07:51:55PM +0200, Ingo Molnar wrote:
> we have a number of other places that rely on clear_bit() being atomic -
> if this isnt true anymore on Alpha then we could make it nonatomic on x86

So what is the semantics of a non-atomic clear-bit?

BTW: here is the comment in include/asm-i386/bitops.h -- similar in
the other architectures I looked at.

* These have to be done with inline assembly: that way the bit-setting
* is guaranteed to be atomic. All bit operations return 0 if the bit
* was cleared before the operation and != 0 if it was not.

Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.

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:38    [W:0.106 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site