Jens Axboe e4956dc7a8 io_uring/sqpoll: annotate debug task == current with data_race()
There's a debug check in io_sq_thread_park() checking if it's the SQPOLL
thread itself calling park. KCSAN warns about this, as we should not be
reading sqd->thread outside of sqd->lock.

Just silence this with data_race(). The pointer isn't used for anything
but this debug check.

Reported-by: syzbot+2b946a3fd80caf971b21@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-08-13 06:10:59 -06:00
..
2024-07-20 11:04:57 -06:00
2024-06-19 07:57:21 -06:00
2022-07-24 18:39:11 -06:00
2024-07-15 13:49:10 -07:00
2024-06-20 15:19:17 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00