Re: [BUG FIX] Make x86_32 uni-processor Atomic ops, Atomic

From: Michael S. Zick
Date: Sun May 24 2009 - 15:09:54 EST

On Sun May 24 2009, H. Peter Anvin wrote:
> Michael S. Zick wrote:
> >
> > Note: I have seem to recall that newer gcc's optimizer presume
> > that the flags register is preserved across asm -
> > It didn't use to do that - but there is now a "cc" to deal with
> > that - Have not yet audited for that, but it is high on my list.
> >
> I am pretty sure that's false... if it was true we'd have failures all
> over the kernel.

Not an issue at the moment, will cover that when I audit my own code.

> -hpa

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