summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-11-13 15:27:12 +0000
committerSteven Rostedt <rostedt@goodmis.org>2026-11-20 10:02:37 -0500
commitd1a4551c99aa6a29c1c4e6466dfebaa4449ad0ed (patch)
tree0993e79df8489718c296541324a613c9ac46a99d /rust/kernel/alloc/allocator
parent27d44f1c58092c56cf38adf831ca4cfe05b4a03c (diff)
ring-buffer: Order remote page commit with data and timestamp
__rb_get_reader_page_from_remote() uses page::commit to check if more data is available for consumption. However, it needs to make sure that data and page::time_stamp are not stale. Enforce page::commit order with page::data and page::time_stamp, and defer updating read_stamp on page swap until rb_page_size() confirms committed data is present. Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261113152729.837429-4-vdonnefort@google.com Fixes: 2e67fabd8b77 ("ring-buffer: Introduce ring-buffer remotes") Fixes: 34e5b958bdad ("tracing: Introduce simple_ring_buffer") Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions