Re: [RFC][PATCH 3/3 v3] livepatching: Use the default ftrace_ops instead of REGS when ARGS is available

2020-10-30 Thread Miroslav Benes
(live-patching ML CCed, keeping the complete email for reference) Hi, a nit concerning the subject. We use just "livepatch:" as a prefix. On Wed, 28 Oct 2020, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > When CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS is available, the ftrace call >

[RFC][PATCH 3/3 v3] livepatching: Use the default ftrace_ops instead of REGS when ARGS is available

2020-10-28 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS is available, the ftrace call will be able to set the ip of the calling function. This will improve the performance of live kernel patching where it does not need all the regs to be stored just to change the instruction poi