diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-10-13 11:20:46 +0100 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-14 19:03:40 -0400 |
| commit | c9fc60c18b6d42efdea0cd88ca132b2f452157c3 (patch) | |
| tree | f7d87a761567122de2cae89bb155a613a1fd3382 /scripts/basic/split-include.c | |
| parent | 2cd88c498ecff8e22bf4c397b8eb226db70ac343 (diff) | |
| download | linux-c9fc60c18b6d42efdea0cd88ca132b2f452157c3.tar.gz linux-c9fc60c18b6d42efdea0cd88ca132b2f452157c3.zip | |
ring-buffer: Skip si_mem_available() for persistent and remote buffers
Persistent and remote buffer memory is pre-allocated by the time
__rb_allocate_pages() is called. Skip si_mem_available() to avoid
wrongly failing the allocation under memory pressure.
For the same reason, unset user_thread.
Link: https://patch.msgid.link/20261013102047.1488347-2-vdonnefort@google.com
Fixes: be68d63a139b ("ring-buffer: Add ring_buffer_alloc_range()")
Fixes: 2e67fabd8b77 ("ring-buffer: Introduce ring-buffer remotes")
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
