commit | 6805b32ec2b0897eb180295385efe306e5ac3b3d | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Oct 08 02:18:42 2019 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 07 21:16:24 2019 -0600 |
tree | b7de652423b1ef3af835b1c538bbb3d17a2edb5b | |
parent | b84477d3ebb96294f87dc3161e53fa8fe22d9bfd [diff] |
io_uring: remove wait loop spurious wakeups Any changes interesting to tasks waiting in io_cqring_wait() are commited with io_cqring_ev_posted(). However, io_ring_drop_ctx_refs() also tries to do that but with no reason, that means spurious wakeups every io_free_req() and io_uring_enter(). Just use percpu_ref_put() instead. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>