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>
Sun, 4 Apr 2021 21:27:22 +0000 (15:27 -0600)
commit004b685dfeb692813fcba5d3500757d3a8b40526
treef9b90ec88fab7377e625b6aa3c5d5dc7d4a7447d
parent89a022d156fc5b967e0ac6b144ecc508bfc04030
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