Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: wake SQPOLL task when task_work is added to an empty queue
If there's no current work on the list, we still need to potentially wake the SQPOLL task if it is sleeping. This is ordered with the wait queue addition in sqpoll, which adds to the wait queue before checking for pending work items. Fixes: af5d68f ("io_uring/sqpoll: manage task_work privately") Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information