Re: [PATCH 16/20] objtool: Rewrite alt->skip_orig
From: Peter Zijlstra
Date: Fri Mar 08 2019 - 16:34:33 EST
On Fri, Mar 08, 2019 at 02:15:56PM -0600, Josh Poimboeuf wrote:
> On Thu, Mar 07, 2019 at 12:45:27PM +0100, Peter Zijlstra wrote:
> > Really skip the original instruction flow, instead of letting it
> > continue with NOPs.
> > Since the alternative code flow already continues after the original
> > instructions, only the alt-original is skipped.
> I like this approach. I wonder if we can do something similar to get
> rid of the nasty fake jumps.
This actually hard relies on those fake jumps. Or am I missing the