summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-03 15:22:01 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-04-27 11:01:16 -0700
commit065a6db12a80fac4eccc37e6bef14b0f4a610f31 (patch)
tree8fcb9c6a2f1586bbf45be1e8bfbd86a82ebdd3f1 /tools/perf/scripts/python/exported-sql-viewer.py
parent314eeb43e5f22856b281c91c966e51e5782a3498 (diff)
rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks
The rcu_node structure's ->boost_tasks field is read locklessly, so this commit adds the READ_ONCE() to one load in order to avoid destructive compiler optimizations. The other load is from a diagnostic print, so data_race() suffices. 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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions