diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-08-06 22:13:03 +0100 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-08-08 22:26:11 -0400 |
| commit | 6d014e44b68ddd43f71288d2a4dbb1a259869149 (patch) | |
| tree | 4d2a675c556486c6e9a5ea4e9e4513e6f7d65b18 /tools/perf/scripts | |
| parent | bf98d7b0d5a99991e47e66cee4eb1d3fa514be97 (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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
