lkml.org 
[lkml]   [2023]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] tracing: Fix race when concurrently splice_read trace_pipe
    On Thu, 10 Aug 2023 20:39:05 +0800
    Zheng Yejian <zhengyejian1@huawei.com> wrote:

    > When concurrently splice_read file trace_pipe and per_cpu/cpu*/trace_pipe,
    > there are more data being read out than expected.

    Honestly the real fix is to prevent that use case. We should probably have
    access to trace_pipe lock all the per_cpu trace_pipes too.

    -- Steve

    \
     
     \ /
      Last update: 2023-08-11 21:25    [W:2.156 / U:0.488 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site