Re: [PATCH v2 1/2] ring-buffer: Introducing ring-buffer mapping functions
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-03-29 13:14:42
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-03-29 13:14:42
Also in:
lkml
On Wed, 29 Mar 2023 14:10:09 +0100 Vincent Donnefort [off-list ref] wrote:
The v2 of this series only updates the head page in the update ioctl (ring_buffer_update_meta_page()) Couldn't find a nice way around that as it can be either updated by the reader or the writer. So the best solution seemed a call to set_head_page().
Yes, the update will race between readers and writers. Let's not worry about this at the moment and not expose it yet. I'm looking at other ways around this too. -- Steve