No. Any aligned store (which you get from the compiler) will be atomic
even in an SMP system.
> Am I missing something?
I don't think so.
What do you want the memory barrier for other than to prevent reads
from crossing the unlock? (apologies if I missed this in an earlier
message)
Erich Boleyn
PMD IA32 Architecture
Intel
-
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/