[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190308201510.4luzked52x3sdezg@treble>
Date: Fri, 8 Mar 2019 14:15:56 -0600
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: torvalds@...ux-foundation.org, tglx@...utronix.de, hpa@...or.com,
julien.thierry@....com, will.deacon@....com, luto@...capital.net,
mingo@...nel.org, catalin.marinas@....com, james.morse@....com,
valentin.schneider@....com, brgerst@...il.com, luto@...nel.org,
bp@...en8.de, dvlasenk@...hat.com, linux-kernel@...r.kernel.org,
dvyukov@...gle.com, rostedt@...dmis.org
Subject: Re: [PATCH 16/20] objtool: Rewrite alt->skip_orig
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.
--
Josh
Powered by blists - more mailing lists