On Thu, 16 Mar 2017 12:30:25 -0700 Linus Torvalds <[email protected]> wrote:
> On Thu, Mar 16, 2017 at 12:24 PM, Steven Rostedt <[email protected]> wrote: > > popl %ds > > popl %es > > popl %fs > > popl %gs > > Do you even need these? Can they be changed by ftrace? ftrace no, kprobes, maybe. > > And see the previous email about not touching the original location at > all, adn just duplicating that entry, avoiding all the need for > shuffling. I *really* hope that ftrace doesn't depend on changing the > return %eip on the stack. That would be truly nasty. How do you think the live patching works? -- Steve

