Re: [PATCH] printk: Make console tracepoint safe in NMI() context
From: Steven Rostedt
Date: Fri Jul 15 2022 - 11:25:27 EST
On Fri, 15 Jul 2022 08:10:00 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
> So if preemption is enabled at that point in tracing, you really want
> to be using rcu_is_watching().
And yes, at that point in tracing, preemption is still enabled if the
tracepoint was called with preemption enabled.
Thus, we really need to convert that to rcu_is_watching().
-- Steve