Messages in this thread | | | Date | Fri, 11 Aug 2023 15:25:25 -0400 | From | Steven Rostedt <> | Subject | Re: [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
| |