]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor io_disarm_next() locking
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 20 Apr 2022 12:40:55 +0000 (13:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:18:17 +0000 (18:18 -0600)
commit4b84aadddba39bd35eb600b19c4147c18f4c06b5
treec4464da12af88d7d6e1b084f1bf13dd347f9b356
parent450683f023177ec61f82176bf7b7cf6ce3ce00ab
io_uring: refactor io_disarm_next() locking

Split timeout handling into removal + failing, so we can reduce
spinlocking time and remove another instance of triple nested locking.

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