Thread (29 messages) 29 messages, 4 authors, 2020-02-12

Re: [PATCH 4/8] sched,rcu,tracing: Mark preempt_count_{add,sub}() notrace

From: Peter Zijlstra <peterz@infradead.org>
Date: 2020-02-12 15:39:06
Also in: lkml

On Wed, Feb 12, 2020 at 10:14:15AM -0500, Steven Rostedt wrote:
quoted
My initial patch has __preempt_count_add/sub() in, but then I figured
someone would go complain the tracepoint would go missing.
Fine, but what bug are you trying to fix? I haven't seen one mentioned
yet. Function tracing has recursion protection, and tracing
preempt_count in nmi_enter() causes no problems. What's the problem you
are trying to solve?
The same one as yesterday; if we hit a tracer in NMI context, when
!rcu_is_watching() and in_nmi() is still 0, we're fucked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help