diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-04 02:59:12 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-21 02:58:22 +0300 |
commit | 0050c7b2d27c3cc126df59bd8094fb3d25b00ade (patch) | |
tree | 6d398b15f88c3e6a876e5d406a8fe5f176bff03d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 105abf82b0a62664edabcd4c5b4d9414c74ef399 (diff) | |
download | linux-0050c7b2d27c3cc126df59bd8094fb3d25b00ade.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions