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>
Mon, 22 Mar 2021 13:42:50 +0000 (07:42 -0600)
commit8670066c4f73bf6dff42619f7f75a7bcc447fe05
tree1e484339e0f54c5405aed4d4b205b94fcf15d1c6
parent8179a85ebf5ccc415b221faaa71a79bb2ec5a7f6
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