Re: [PATCH v5 14/21] kprobes: Remove NMI context check

From: Steven Rostedt
Date: Tue Nov 03 2020 - 11:09:34 EST


On Tue, 3 Nov 2020 14:39:38 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Ah, OK. This looks good to me.
>
> BTW, in_nmi() in pre_handler_kretprobe() always be true because
> now int3 is treated as an NMI. So you can always pass 1 there.

What about the below patch then?

>
> Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

Thanks!