io_uring: optimise hot path of ltimeout prep
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 11 Aug 2021 18:28:31 +0000 (19:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Aug 2021 17:24:13 +0000 (11:24 -0600)
commit0c840fd720fb3a39a05156c598cbf954dea4c6f1
treefd465df53513040dacd12d165cd2b9a268489806
parent94e639ddfacd38b22c5508d2952d55a5cd5b9322
io_uring: optimise hot path of ltimeout prep

io_prep_linked_timeout() grew too heavy and compiler now refuse to
inline the function. Help it by splitting in two and annotating with
inline.

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