Forum | Documentation | Website | Blog

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

io_uring: ensure iopoll runs local task work as well


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>
parent 8ac5d85a
Branches
Tags
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