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

Steven Rostedt rostedt at goodmis.org
Fri Apr 30 12:34:31 BST 2021


On Fri, 30 Apr 2021 04:06:35 +0000
Anup Patel <Anup.Patel at wdc.com> 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



More information about the linux-riscv mailing list