mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
rcu-tasks: Apply READ_ONCE() and WRITE_ONCE() to fix data race
Now that rcutorture tests readers from interrupt handlers, KCSAN spotted an additional data race. This commit therefore fixes it by applying READ_ONCE() and WRITE_ONCE(). Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
ef21090071
commit
647dd6e094
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue