]> 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)
commit62a322b48db5df97ad3c582297b90d32da80a4d2
tree7660114e15888566a81a0c766c878c63910d29eb
parentea51349f7d768c0e98df02b826dea42d3b1cbd45
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