]> git.baikalelectronics.ru Git - kernel.git/commit
block: inline hot paths of blk_account_io_*()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 9 Oct 2021 12:25:41 +0000 (13:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:34 +0000 (06:17 -0600)
commit736f249466cd7fac4aeb2da3692a3b0a4627125b
tree7660114e15888566a81a0c766c878c63910d29eb
parentd5eb5559034222738531a15b06150229b6eda119
block: inline hot paths of blk_account_io_*()

Extract hot paths of __blk_account_io_start() and
__blk_account_io_done() into inline functions, so we don't always pay
for function calls.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b0662a636bd4cc7b4f84c9d0a41efa46a688ef13.1633781740.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk.h