Re: [PATCH 5/7] x86/speculation: Annotate intra-function calls

From: Josh Poimboeuf
Date: Fri Apr 03 2020 - 13:24:18 EST


On Fri, Apr 03, 2020 at 07:18:36PM +0200, Peter Zijlstra wrote:
> What we need in this case though is only a different stack layout inside
> the alternative, and that is doable.

I'm not sure what you mean... any stack changes within the alternative
have to match exactly the stack changes at the same offsets of the
original code because ORC doesn't know the difference between the two.

--
Josh