Re: [PATCH] tracing: Have all levels of checks prevent recursion

From
Steven Rostedt <rostedt@goodmis.org>
Date
2021-10-15 17:35:27
Also in
linux-riscv, linuxppc-dev, lkml
Reply to
Peter Zijlstra, 2021-10-15
On Fri, 15 Oct 2021 18:17:02 +0200
Peter Zijlstra [off-list ref] wrote:
On Fri, Oct 15, 2021 at 11:00:35AM -0400, Steven Rostedt wrote:
quoted
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

While writing an email explaining the "bit = 0" logic for a discussion on  
quoted
 	bit = trace_get_context_bit() + start;  
While there, you were also going to update that function to match/use
get_recursion_context(). Because your version is still branch hell.
That would probably be a separate patch. This is just a fix to a design
flaw, changing the context tests would be performance enhancement.

Thanks for the reminder (as it was on my todo list to update that code).

-- Steve
Thread (20 messages) 20 messages, 5 authors, last reply 2023-07-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help