diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-10-08 02:18:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-07 21:16:24 -0600 |
commit | 6805b32ec2b0897eb180295385efe306e5ac3b3d (patch) | |
tree | b7de652423b1ef3af835b1c538bbb3d17a2edb5b /kernel/gcov/gcc_base.c | |
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>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions