diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-03 15:59:12 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
commit | 0050c7b2d27c3cc126df59bd8094fb3d25b00ade (patch) | |
tree | 6d398b15f88c3e6a876e5d406a8fe5f176bff03d /kernel/elfcore.c | |
parent | 105abf82b0a62664edabcd4c5b4d9414c74ef399 (diff) | |
download | linux-0050c7b2d27c3cc126df59bd8094fb3d25b00ade.tar.bz2 |
locking/rtmutex: rcu: Add WRITE_ONCE() to rt_mutex ->owner
The rt_mutex structure's ->owner field is read locklessly, so this
commit adds the WRITE_ONCE() to an update in order to provide proper
documentation and READ_ONCE()/WRITE_ONCE() pairing.
This data race was reported by KCSAN. Not appropriate for backporting
due to failure being unlikely.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Will Deacon <will@kernel.org>
Diffstat (limited to 'kernel/elfcore.c')
0 files changed, 0 insertions, 0 deletions