diff options
| author | Paul E. McKenney <[email protected]> | 2020-01-04 00:36:59 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-04-27 18:01:16 +0000 |
| commit | b68c6146512d92f6d570d26e1873497ade2cc4cb (patch) | |
| tree | 26d7970096a5f2b92f7cf6df9af687edc3315721 /drivers/gpu/drm/drm_dp_mst_topology.c | |
| parent | rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks (diff) | |
| download | kernel-b68c6146512d92f6d570d26e1873497ade2cc4cb.tar.gz kernel-b68c6146512d92f6d570d26e1873497ade2cc4cb.zip | |
srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock_count arrays
The srcu_data structure's ->srcu_lock_count and ->srcu_unlock_count arrays
are read and written locklessly, so this commit adds the data_race()
to the diagnostic-print loads from these arrays in order mark them as
known and approved data-racy accesses.
This data race was reported by KCSAN. Not appropriate for backporting due
to failure being unlikely and due to this being used only by rcutorture.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions
