On Thu, 5 Nov 2020, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" <rost...@goodmis.org> > > If a ftrace callback does not supply its own recursion protection and > does not set the RECURSION_SAFE flag in its ftrace_ops, then ftrace will > make a helper trampoline to do so before calling the callback instead of > just calling the callback directly. > > The default for ftrace_ops is going to change. It will expect that handlers > provide their own recursion protection, unless its ftrace_ops states > otherwise. > > Link: https://lkml.kernel.org/r/20201028115613.291169...@goodmis.org > > Cc: Masami Hiramatsu <mhira...@kernel.org> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Josh Poimboeuf <jpoim...@redhat.com> > Cc: Jiri Kosina <ji...@kernel.org> > Cc: Miroslav Benes <mbe...@suse.cz> > Cc: Joe Lawrence <joe.lawre...@redhat.com> > Cc: live-patch...@vger.kernel.org > Reviewed-by: Petr Mladek <pmla...@suse.com> > Signed-off-by: Steven Rostedt (VMware) <rost...@goodmis.org>
Acked-by: Miroslav Benes <mbe...@suse.cz> M