Re: compiler bug gcc4.6/4.7 with ACCESS_ONCE and workarounds
From: Linus Torvalds
Date: Tue Nov 11 2014 - 19:33:57 EST
On Tue, Nov 11, 2014 at 1:16 PM, Christian Borntraeger
<borntraeger@xxxxxxxxxx> wrote:
>
> Are you ok with the patch as is in kvm/next for the time being or shall
> we revert that and replace it with the .val scheme?
Is that the one that was quoted at the beginning of the thread, that
uses barrier()?
I guess as a workaround it is fine, as long as we don't lose sight of
trying to eventually do a better job.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/