io_uring: inline io_put_req and friends
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:37 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Mar 2021 16:24:22 +0000 (10:24 -0600)
commit2b98324bb3761099670a4170dbfceeedc06a11ec
tree32230bb89cc0d57c004aa70bdfd30a02cc4d16a1
parentb464cae23e48abd342f80d5ddf789675d508444c
io_uring: inline io_put_req and friends

One big omission is that io_put_req() haven't been marked inline, and at
least gcc 9 doesn't inline it, not to mention that it's really hot and
extra function call is intolerable, especially when it doesn't put a
final ref.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c