On Wed, 6 Mar 2024 10:55:34 +0800
linke li wrote:
> Mark data races to work->wait_index as benign using READ_ONCE and WRITE_ONCE.
> These accesses are expected to be racy.
Are we now to the point that every single access of a variable (long size
or less) needs a READ_ONCE/WRITE_ONCE even with
Mark data races to work->wait_index as benign using READ_ONCE and WRITE_ONCE.
These accesses are expected to be racy.
Signed-off-by: linke li
---
kernel/trace/ring_buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buf
2 matches
Mail list logo