diff options
| author | 2026-08-06 22:13:03 +0100 | |
|---|---|---|
| committer | 2026-08-08 22:26:11 -0400 | |
| commit | 6d014e44b68ddd43f71288d2a4dbb1a259869149 (patch) | |
| tree | 4d2a675c556486c6e9a5ea4e9e4513e6f7d65b18 /scripts/Makefile.thinlto | |
| parent | ring-buffer: Prevent subbuf order change when resizing is disabled (diff) | |
ring-buffer: Initialise reader page order in rb_allocate_cpu_buffer()
In rb_allocate_cpu_buffer(), bpage->order was omitted, leaving it as 0.
This is an issue for a ring-buffer with subbufs bigger than PAGE_SIZE if
when freed: free_buffer_page() relies on this value. Align the value
with the actual allocation size (buffer::subbuf_order).
Cc: stable@vger.kernel.org
Fixes: f9b94daa542a ("ring-buffer: Set new size of the ring buffer sub page")
Link: https://patch.msgid.link/20260806211306.3704194-4-vdonnefort@google.com
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
