diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2020-01-07 15:48:39 -0800 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2020-02-20 15:58:22 -0800 |
| commit | a5b8950180f8e5acb802d1672e0b4d0ceee6126e (patch) | |
| tree | fa0f8d7e3bd76c2db2df2c59d818c6b2f8def89c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | rcu: Fix typos in file-header comments (diff) | |
| download | linux-a5b8950180f8e5acb802d1672e0b4d0ceee6126e.tar.gz linux-a5b8950180f8e5acb802d1672e0b4d0ceee6126e.zip | |
rcu: Add READ_ONCE() to rcu_data ->gpwrap
The rcu_data structure's ->gpwrap field is read locklessly, and so
this commit adds the required READ_ONCE() to a pair of laods 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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
