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

From
Steven Rostedt <rostedt@goodmis.org>
Date
2021-10-15 19:00:59
Also in
linux-riscv, linuxppc-dev, lkml
Reply to
Peter Zijlstra, 2021-10-15
On Fri, 15 Oct 2021 20:24:59 +0200
Peter Zijlstra [off-list ref] wrote:
quoted
@@ -206,11 +206,7 @@ DEFINE_OUTPUT_COPY(__output_copy_user, arch_perf_out_copy_user)
 static inline int get_recursion_context(int *recursion)
 {
 	unsigned int pc = preempt_count();  
Although I think we can do without that ^ line as well :-)
Ah, I could have sworn I deleted it. Oh well, will make a proper patch set.

Thanks!

-- Steve

quoted
-	unsigned char rctx = 0;
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