Re: [PATCH -tip V2 0/2] kprobes: Fix RCU warning and cleanup

From: Masami Hiramatsu
Date: Fri Dec 20 2019 - 13:55:49 EST


Hi Ingo,

Could you pick this series to fix the false-positive RCU-list warnings?

Thank you,

On Tue, 3 Dec 2019 15:06:06 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Hi,
>
> Here is a couple of patches which fix suspicious RCU
> usage warnings in kprobes.
>
> Anders reported the first warning in kprobe smoke test
> with CONFIG_PROVE_RCU_LIST=y. While fixing this issue,
> I found similar issues and cleanups in kprobes.
>
> Thank you,
>
> ---
>
> Masami Hiramatsu (2):
> kprobes: Suppress the suspicious RCU warning on kprobes
> kprobes: Use non RCU traversal APIs on kprobe_tables if possible
>
>
> kernel/kprobes.c | 32 ++++++++++++++++++++++----------
> 1 file changed, 22 insertions(+), 10 deletions(-)
>
> --
> Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>