Re: [PATCH v8 1/3] tracing: Fix subbuf resize races with trace_pipe_raw readers

From
Vincent Donnefort <vdonnefort@google.com>
Date
2026-08-28 08:24:43
Also in
sashiko-reviews
Reply to
Steven Rostedt, 2026-08-27
On Thu, Aug 27, 2026 at 03:33:14PM -0400, Steven Rostedt wrote:
On Thu, 27 Aug 2026 17:21:39 +0100
Vincent Donnefort [off-list ref] wrote:
quoted
On Thu, Aug 27, 2026 at 09:15:41AM -0400, Steven Rostedt wrote:
quoted
On Thu, 27 Aug 2026 07:31:23 +0100
Vincent Donnefort [off-list ref] wrote:
  
quoted
Looking at the function again, shouldn't we add !rb_is_static(cpu_buffer) as
well to the full page test?  
Why? 

-- Steve  
So that the splice can make progress when the ring-buffer is presistent or
user-mapped. Or do we say that's expected behaviour? 
Ah yeah, I see. Hmm, looking at the code to see how this would work, I
think I found another bug. Let me look deeper into it.

-- Steve
A bug if we allow rb_is_static()?

If not, shall I add it to my series?

-- 
Vincent
Thread (15 messages) 15 messages, 3 authors, last reply 2026-08-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help