diff options
author | Paul E. McKenney <[email protected]> | 2024-03-06 17:00:39 -0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <[email protected]> | 2024-04-09 15:10:13 +0200 |
commit | c507e195016ccca18e375d14cfeb1186dac60b2c (patch) | |
tree | 4aeb24bab9f5e29d5b6b9bd3bb773cad26310297 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f8039457eedc378fa7a186054ee3032b8a41eaee (diff) |
rcutorture: ASSERT_EXCLUSIVE_WRITER() for ->rtort_pipe_count updates
It turns out that only one CPU at a time will ever invoke
rcu_torture_pipe_update_one() on a given rcu_torture structure.
This commit therefore adds three ASSERT_EXCLUSIVE_WRITER() calls
to enlist KCSAN's aid in checking this.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Linus Torvalds <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]>
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions