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 Fri, Mar 08, 2019 at 10:34:18PM +0100, Peter Zijlstra wrote:
    > 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
    > point?

    I was just wondering out loud if we could somehow keep the same "fake
    jump" functionality, but do it in a cleaner way that doesn't require
    creating fake instructions. I'll might give it a try.

    --
    Josh

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