]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: helper for prep+queuing linked timeouts
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 15 Apr 2022 21:08:25 +0000 (22:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:02:49 +0000 (18:02 -0600)
commit7fee35293365c6a0e788ce6b403c4cf1181a78cd
tree2a9d4c3f3864456ede2fb2da5595f23e211c7db4
parent3b8676f05c1176733729c6ccc1f58ffe18a2f723
io_uring: helper for prep+queuing linked timeouts

We try to aggresively inline the submission path, so it's a good idea to
not pollute it with colder code. One of them is linked timeout
preparation + queue, which can be extracted into a function.

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