summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-02-14 20:35:12 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-02-15 22:00:59 +0300
commit97937834ae876f29565415ab15f1284666dc6be3 (patch)
tree482d8ee9c864db647e7fc5d5e8af85474d0557da /scripts/extract-fwblobs
parent129fe718819cc5e24ea2f489db9ccd4371f0c6f6 (diff)
downloadlinux-97937834ae876f29565415ab15f1284666dc6be3.tar.xz
ring-buffer: Update pages_touched to reflect persistent buffer content
The pages_touched field represents the number of subbuffers in the ring buffer that have content that can be read. This is used in accounting of "dirty_pages" and "buffer_percent" to allow the user to wait for the buffer to be filled to a certain amount before it reads the buffer in blocking mode. The persistent buffer never updated this value so it was set to zero, and this accounting would take it as it had no content. This would cause user space to wait for content even though there's enough content in the ring buffer that satisfies the buffer_percent. Cc: stable@vger.kernel.org Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Vincent Donnefort <vdonnefort@google.com> Link: https://lore.kernel.org/20250214123512.0631436e@gandalf.local.home Fixes: 5f3b6e839f3ce ("ring-buffer: Validate boot range memory events") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions