Messages in this thread | | | Date | Fri, 15 Jul 2022 11:25:16 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH] printk: Make console tracepoint safe in NMI() context |
| |
On Fri, 15 Jul 2022 08:10:00 -0700 "Paul E. McKenney" <paulmck@kernel.org> 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
| |