Pavel Begunkov 6805b32ec2 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>
2019-10-07 21:16:24 -06:00
..
2019-08-30 07:27:18 -07:00
2019-09-02 11:43:54 +01:00
2019-09-18 17:29:31 -07:00
2019-09-25 10:21:13 -07:00
2019-09-21 10:26:24 -07:00
2019-09-19 09:42:37 -07:00
2019-09-19 13:09:28 -07:00
2019-07-12 17:37:53 -07:00
\n
2019-09-21 13:53:34 -07:00
2019-09-21 14:26:33 -07:00
2019-09-24 15:28:02 +02:00
2019-09-19 09:42:37 -07:00
2019-09-19 09:42:37 -07:00
2019-07-03 17:52:09 -04:00
2019-09-19 09:42:37 -07:00
2019-09-23 11:21:04 -07:00
2019-09-19 10:21:35 -07:00
2019-09-24 15:54:11 -07:00
2019-08-30 08:11:25 -07:00
\n
2019-07-10 20:09:17 -07:00
2019-09-19 09:42:37 -07:00
2019-09-25 09:01:43 -07:00
2019-09-18 17:35:20 -07:00
2019-07-15 21:20:52 -07:00
2019-04-08 18:21:02 -05:00
2019-03-08 14:48:40 -08:00
2019-09-18 16:59:14 -07:00
2019-09-18 16:59:14 -07:00
2019-09-25 09:55:59 -07:00
2019-09-25 09:55:59 -07:00
2019-08-01 20:51:23 +02:00