lkml.org 
[lkml]   [2018]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/24] x86/paravirt: Annotate indirect calls
On Mon, Jan 29, 2018 at 12:38:50PM -0600, Josh Poimboeuf wrote:
> On Tue, Jan 23, 2018 at 04:25:42PM +0100, Peter Zijlstra wrote:
> > Paravirt emits indirect calls which get flagged by objtool retpoline
> > checks, annotate it away because all these indirect calls will be
> > patched out before we start userspace.
>
> There's one condition where this isn't true: the 'noreplace-paravirt'
> cmdline option. I have no idea why that option exists but we should
> consider just removing it.

Smells like a debug remnant from back when all this patching crap was
new. And yes, that sounds like something that should maybe go away. Esp.
for retpoline builds.

\
 
 \ /
  Last update: 2018-01-29 20:21    [W:0.149 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site