[PATCH] tracing: Have all levels of checks prevent recursion
    Steven Rostedt 
    rostedt at goodmis.org
       
    Sat Oct 16 06:00:50 AEDT 2021
    
    
  
On Fri, 15 Oct 2021 20:24:59 +0200
Peter Zijlstra <peterz at infradead.org> wrote:
> > @@ -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
> 
> > -	unsigned char rctx = 0;
    
    
More information about the Linuxppc-dev
mailing list