diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-01-04 10:34:34 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-02-14 10:36:58 -0800 |
commit | c09929031018913b5783872a8b8cdddef4a543c7 (patch) | |
tree | 1a5534653c6131cdada887ca30c16ffb2d22f1e5 /tools/perf/scripts/python/netdev-times.py | |
parent | d818cc76e2b4d5f6cebf8c7ce1160d652d7e572b (diff) |
rcu: Mark writes to the rcu_segcblist structure's ->flags field
KCSAN reports data races between the rcu_segcblist_clear_flags() and
rcu_segcblist_set_flags() functions, though misreporting the latter
as a call to rcu_segcblist_is_enabled() from call_rcu(). This commit
converts the updates of this field to WRITE_ONCE(), relying on the
resulting unmarked reads to continue to detect buggy concurrent writes
to this field.
Reported-by: Zhouyi Zhou <zhouzhouyi@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions