Paul E. McKenney 5b237d650e locktorture: Mark statistics data races
The lock_stress_stats structure's ->n_lock_fail and ->n_lock_acquired
fields are incremented and sampled locklessly using plain C-language
statements, which KCSAN objects to.  This commit therefore marks the
statistics gathering with data_race() to flag the intent.  While in
the area, this commit also reduces the number of accesses to the
->n_lock_acquired field, thus eliminating some possible check/use
confusion.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-07-27 11:39:30 -07:00
..
2021-03-22 02:45:52 +01:00
2021-06-18 11:43:09 +02:00
2021-03-22 02:45:52 +01:00
2021-06-18 11:43:09 +02:00
2021-06-18 11:43:09 +02:00
2021-03-22 02:45:52 +01:00