Messages in this thread | | | Date | Tue, 30 Mar 2021 15:39:22 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH] riscv: kprobes/ftrace: Add recursion protection to the ftrace callback |
| |
On Tue, 30 Mar 2021 02:14:40 +0800 Jisheng Zhang <jszhang3@mail.ustc.edu.cn> wrote:
> From: Jisheng Zhang <jszhang@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 <jszhang@kernel.org>
Looks fine to me.
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-- Steve
| |