diff options
author | John Ogness <john.ogness@linutronix.de> | 2024-02-07 14:46:57 +0106 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-02-07 17:23:18 +0100 |
commit | 584528d621459d1a5c31da7a591218ad3bb96d6c (patch) | |
tree | f1a953e7b1024ff242d32f078f7c3af94919e24d /include/linux/compiler_attributes.h | |
parent | 36652d0f3bf34899e82d31a5fa9e2bdd02fd6381 (diff) |
printk: ringbuffer: Cleanup reader terminology
With the lockless ringbuffer, it is allowed that multiple
CPUs/contexts write simultaneously into the buffer. This creates
an ambiguity as some writers will finalize sooner.
The documentation for the prb_read functions is not clear as it
refers to "not yet written" and "no data available". Clarify the
return values and language to be in terms of the reader: records
available for reading.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20240207134103.1357162-9-john.ogness@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions