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>
Mon, 23 Aug 2021 19:10:37 +0000 (13:10 -0600)
commitfd08e5309bba8672c1190362dff6c92bfd59218d
treed49461dc811db2fd896507ee24386cb19ba8ec09
parent20e60a3832089741d6b25c13d291050c5d00b4e7
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