• Jens Axboe's avatar
    io_uring/io-wq: make io_wq_work flags atomic · 3474d1b9
    Jens Axboe authored
    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>
    3474d1b9
io-wq.h 2.07 KB