lkml.org 
[lkml]   [2018]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/alternatives: Fix optimize_nops() checking
On Wed, Jan 10, 2018 at 1:11 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> Wouldn't it be much better to simply do it as part of relocation instead?

.. except we only do real relocation for modules, and depend on the
linker doing everything for us (handle_relocations() at load-time) I
think.

So it's somewhat more involved surgery. Which explains the hack.

Nasty.

Linus

\
 
 \ /
  Last update: 2018-01-14 23:22    [W:0.067 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site