Searched hist:dac6a0ea (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | io_uring.h | dac6a0ea Sat Sep 03 10:52:01 CDT 2022 Jens Axboe <axboe@kernel.dk> 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: Jens Axboe <axboe@kernel.dk>
|
H A D | io_uring.c | dac6a0ea Sat Sep 03 10:52:01 CDT 2022 Jens Axboe <axboe@kernel.dk> 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: Jens Axboe <axboe@kernel.dk>
|