Re: [PATCH] tracing: Fix race when concurrently splice_read trace_pipe
From: Steven Rostedt
Date: Fri Aug 11 2023 - 15:25:32 EST
On Thu, 10 Aug 2023 20:39:05 +0800
Zheng Yejian <zhengyejian1@xxxxxxxxxx> 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