io_uring: keep io_req_free_batch() call locality
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:32 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:21 +0000 (15:27 -0600)
commitb0265a64b154d186618188ee9bfa88939626b3d6
tree752ea32b924528319ab4a26cac6b423d49135227
parenteace6e7544f0ba3e9a1e3ace024bca0d039e96f3
io_uring: keep io_req_free_batch() call locality

Don't do a function call (io_dismantle_req()) in the middle and place it
to near other function calls, otherwise may lead to excessive register
spilling.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c