Re: [PATCH] ring-buffer: Fix memory leak of free page

2023-12-11 Thread Google
On Sun, 10 Dec 2023 22:12:50 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > Reading the ring buffer does a swap of a sub-buffer within the ring buffer > with a empty sub-buffer. This allows the reader to have full access to the > content of the sub-buffer that was swapped out

[PATCH] ring-buffer: Fix memory leak of free page

2023-12-10 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Reading the ring buffer does a swap of a sub-buffer within the ring buffer with a empty sub-buffer. This allows the reader to have full access to the content of the sub-buffer that was swapped out without having to worry about contention with the writer. The reade