lkml.org 
[lkml]   [2021]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] tracing: Have all levels of checks prevent recursion
    On Fri, 15 Oct 2021 20:24:59 +0200
    Peter Zijlstra <peterz@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;

    \
     
     \ /
      Last update: 2021-10-15 21:02    [W:2.194 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site