]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
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, 11 Apr 2021 23:41:59 +0000 (17:41 -0600)
commit0d85035a7368a6c6dc91ddeca6da12a50d24164e
tree59146c723109531ab4c5f76bc58546f603bf28b2
parent8dd03afe611d371b8c8a2ebeec2720de662a21dc
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