Messages in this thread | | | From | kuznet@ms2 ... | Subject | Re: spin_lock forgets to clobber memory and other smp fixes [was | Date | Thu, 7 Sep 2000 21:51:26 +0400 (MSK DST) |
| |
Hello!
> Well, now GCC does CSE across "asm" and will eliminate memory loads, > even though it may not move them! I suspect it always did CSE across > "asm" and we just never got hit by the bug.
dummy_lock trick is equivalent to "memory" clobber.
So that there is no real bug.
Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |