]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ca3445b46c1c638c2a013ce926f74afefec9ce1
tree59146c723109531ab4c5f76bc58546f603bf28b2
parent654cf311c1106ebe8a90a837fe2d1163012808b2
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