Thread (30 messages) 30 messages, 4 authors, 2023-08-21

Re: [PATCH] tracing: Fix race when concurrently splice_read trace_pipe

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-08-11 19:25:32
Also in: lkml

On Thu, 10 Aug 2023 20:39:05 +0800
Zheng Yejian [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help