On Tue, 30 Mar 2021 02:14:40 +0800 Jisheng Zhang <jszha...@mail.ustc.edu.cn> wrote:
> From: Jisheng Zhang <jszh...@kernel.org> > > Currently, the riscv's kprobes(powerred by ftrace) handler is > preemptible. Futher check indicates we miss something similar as the > commit c536aa1c5b17 ("kprobes/ftrace: Add recursion protection to the > ftrace callback"), so do similar modifications as the commit does. > > Fixes: 829adda597fe ("riscv: Add KPROBES_ON_FTRACE supported") > Signed-off-by: Jisheng Zhang <jszh...@kernel.org> Looks fine to me. Reviewed-by: Steven Rostedt (VMware) <rost...@goodmis.org> -- Steve