lkml.org 
[lkml]   [2019]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2019-03-08 21:16    [W:0.291 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site