On Thu, 5 Nov 2020, Steven Rostedt wrote:

> From: "Steven Rostedt (VMware)" <[email protected]>
> 
> 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/[email protected]
> 
> Cc: Masami Hiramatsu <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Josh Poimboeuf <[email protected]>
> Cc: Jiri Kosina <[email protected]>
> Cc: Miroslav Benes <[email protected]>
> Cc: Joe Lawrence <[email protected]>
> Cc: [email protected]
> Reviewed-by: Petr Mladek <[email protected]>
> Signed-off-by: Steven Rostedt (VMware) <[email protected]>

Acked-by: Miroslav Benes <[email protected]>

M

Reply via email to