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>
Wed, 11 Aug 2021 22:35:59 +0000 (16:35 -0600)
commita1e981ea2c6679ca49bcd8b16fd7a833e691561a
tree32acfb0c95fde67ad9e7c5274d03c02ee8d709c2
parent957e1e615c5253110bddf2e32f0569330e15d931
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