Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 10 Jan 2018 13:17:45 -0800 | Subject | Re: [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
| |