summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-04 03:14:08 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-02-21 02:58:22 +0300
commitbfeebe24212d374f82bbf5b005371fe13acabb93 (patch)
tree4184f7f2cf3a5e49bb0a309bf6f664fafd6c44e1 /scripts/gdb/linux/utils.py
parent0050c7b2d27c3cc126df59bd8094fb3d25b00ade (diff)
downloadlinux-bfeebe24212d374f82bbf5b005371fe13acabb93.tar.xz
rcu: Add READ_ONCE() to rcu_segcblist ->tails[]
The rcu_segcblist structure's ->tails[] array entries are read locklessly, so this commit adds the READ_ONCE() to a load in order to avoid destructive compiler optimizations. This data race was reported by KCSAN. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions