Re: [PATCH 16/20] objtool: Rewrite alt->skip_orig
From: Josh Poimboeuf
Date: Fri Mar 08 2019 - 15:16:04 EST
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.