Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: refactor scheduling in io_cqring_wait
[ Upstream commit c1d5a22 ] schedule_timeout() with timeout=MAX_SCHEDULE_TIMEOUT is guaranteed to work just as schedule(), so instead of hand-coding it based on arguments always use the timeout version and simplify code. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information