Re: [PATCH] random32: Use rcuidle variant for tracepoint

From: Steven Rostedt
Date: Fri Aug 21 2020 - 11:41:45 EST


On Fri, 21 Aug 2020 11:38:31 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > > At some point we're going to have to introduce noinstr to idle as well.
> > > But until that time this should indeed cure things.
> >

What the above means, is that ideally we will get rid of all
tracepoints and kasan checks from these RCU not watching locations. But
to do so, we need to move the RCU not watching as close as possible to
where it doesn't need to be watching, and that is not as trivial of a
task as one might think. Once we get to a minimal code path for RCU not
to be watching, it will become "noinstr" and tracing and "debugging"
will be disabled in these sections.

Peter, please correct the above if it's not accurate.

-- Steve