Re: [RFC] LKMM: Add volatile_if()

From: Segher Boessenkool
Date: Fri Jun 04 2021 - 11:54:48 EST


On Fri, Jun 04, 2021 at 03:56:16PM +0200, Peter Zijlstra wrote:
> Urgh, I see. Compiler can't really help in that case either I'm afraid.
> They'll never want to modify loads that originate in an asm().

We never *can* change an asm template. That is part of the fundamental
properties of inline asm. We cannot even parse it!


Segher