Re: [PATCH] ring-buffer: Fixes for subbuf resizing

Vincent Donnefort <[email protected]>
Newsgroups org.kernel.vger.linux-trace-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Aug 13, 2026 at 09:52:30PM -0400, Steven Rostedt wrote:
> From: Vincent Donnefort <[email protected]>
> 
> This series addresses multiple issues discovered with the dynamic ring
> buffer resizing.
> 
> Signed-off-by: Vincent Donnefort <[email protected]>
> Signed-off-by: Steven Rostedt <[email protected]>
> ---
> 
> This is patches 1-5,7-9 of series: https://lore.kernel.org/all/[email protected]/
> 
> I'm running them through my tests right now. But I wanted to see what
> Sashiko thinks of them as one big patch. In the series, Sashiko kept
> complaining about existing issues that were fixed later in the series.
> Sending this as one big patch will hopefully have it give better feedback.

And it actually does not look bad!

The only comment left was fixed in "ring-buffer: Make nr_pages unsigned int",
which from Steven's feedback must be renamed as we may want to keep nr_pages
unsigned long where possible.

> 
>  kernel/trace/ring_buffer.c | 268 ++++++++++++++++++++++---------------
>  1 file changed, 158 insertions(+), 110 deletions(-)
>

[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.