aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-08-13 12:10:59 +0000
committerJens Axboe <[email protected]>2024-08-13 12:10:59 +0000
commite4956dc7a84da074fd8dc10f7abd147f15b3ae58 (patch)
treef4251e7f5e8f5d12efcdd93d0e0994b48bb17150 /lib/debugobjects.c
parentio_uring/napi: remove duplicate io_napi_entry timeout assignation (diff)
downloadkernel-e4956dc7a84da074fd8dc10f7abd147f15b3ae58.tar.gz
kernel-e4956dc7a84da074fd8dc10f7abd147f15b3ae58.zip
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: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions