commit | 7f00651aebc9af600be1d9df2a775eeeaee6bebb | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Apr 14 13:38:34 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 14 10:42:31 2021 -0600 |
tree | a8348128a0b1b5fd9e9a4293c291264f06223522 | |
parent | f39c8a5b1130fe17db9c66d08aa473d9587543a9 [diff] |
io_uring: refactor io_ring_exit_work() Don't reinit io_ring_exit_work()'s exit work/completions on each iteration, that's wasteful. Also add list_rotate_left(), so if we failed to complete the task job, we don't try it again and again but defer it until others are processed. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>