diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-09-11 20:39:37 +0100 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:31:09 -0400 |
| commit | 20d432b4454b54f32afaaa1b0ac336078c3b6be7 (patch) | |
| tree | 2db2badc2a3e96b849890254f5c76ecfa1e0add7 /scripts/basic/split-include.c | |
| parent | 8acb31975a55e5cf3efc36750dad5d0788ff8bb7 (diff) | |
| download | linux-20d432b4454b54f32afaaa1b0ac336078c3b6be7.tar.gz linux-20d432b4454b54f32afaaa1b0ac336078c3b6be7.zip | |
ring-buffer: Unify ring buffer minimum page calculations
The codebase scatters hardcoded minimum page limits across multiple
places. Introduce RING_BUFFER_MIN_NR_PAGES and rb_calculate_nr_pages()
to formalize the requirement of two pages in a ring buffer.
Link: https://patch.msgid.link/20260911193937.602202-4-vdonnefort@google.com
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
