• Jens Axboe's avatar
    io_uring: ensure iopoll runs local task work as well · dac6a0ea
    Jens Axboe authored
    Combine the two checks we have for task_work running and whether or not
    we need to shuffle the mutex into one, so we unify how task_work is run
    in the iopoll loop. This helps ensure that local task_work is run when
    needed, and also optimizes that path to avoid a mutex shuffle if it's
    not needed.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    dac6a0ea
io_uring.c 105 KB