Re: [PATCH] RISC-V: insn: Use a raw spinlock to protect TEXT_POKE*

From: Steven Rostedt
Date: Fri Apr 30 2021 - 07:35:33 EST


On Fri, 30 Apr 2021 04:06:35 +0000
Anup Patel <Anup.Patel@xxxxxxx> wrote:

> This patch only takes care of ftrace path.
>
> The RISC-V instruction patching is used by RISC-V jump label implementation
> as well and will called from various critical parts of core kernel.
>
> The RAW spinlock approach allows same instruction patching to be used
> for kprobes, ftrace, and jump label.

So what path hits this outside of stop machine?

-- Steve