Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3474d1b9 authored by Jens Axboe's avatar Jens Axboe Committed by Jens Axboe
Browse files

io_uring/io-wq: make io_wq_work flags atomic


The work flags can be set/accessed from different tasks, both the
originator of the request, and the io-wq workers. While modifications
aren't concurrent, it still makes KMSAN unhappy. There's no real
downside to just making the flag reading/manipulation use proper
atomics here.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f2a93294
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment