io_uring: improve task exit timeout cancellations
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 20 Jun 2022 00:25:53 +0000 (01:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:14 +0000 (18:39 -0600)
commitba3cdb6fbb6e8eb525c868c60e103c5711edc068
tree884b7152b56ddc722a24d9c74c4c25d2492ba711
parentaffa87db90108d9f017f927bcdab536e32c3915e
io_uring: improve task exit timeout cancellations

Don't spin trying to cancel timeouts that are reachable but not
cancellable, e.g. already executing.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ab8a7440a60bbdf69ae514f672ad050e43dd1b03.1655684496.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/timeout.c