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>
Thu, 21 Jul 2022 14:44:29 +0000 (08:44 -0600)
commit8703e6df74da0c0672ad7c4a5f7a725b0d47f8d0
tree307d4cbbdeecee5bbd7eaecda04fab6f429c1692
parent31f9a92ac61bb05dc53fb704014b4c8bcd8cf982
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