Re: [GIT PULL] ring-buffer: Updates for v6.15

From: Linus Torvalds
Date: Thu Mar 27 2025 - 23:43:33 EST


On Thu, 27 Mar 2025 at 20:27, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> So you are saying that you want this to save the page struct directly
> then. My only concern with that is the added memory to save the
> structure when it could be easily calculated.

I think with the right amount of clean abstraction work, you can
probably salvage this without having to do the double accounting.

Because I did like your rb_get_page() concept at least in that pseudo-code form.

I don't know what the actual tested end result looks like, maybe there
ends up being problems with it..

Linus