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, 11 Apr 2021 23:41:58 +0000 (17:41 -0600)
commit966706579a7124fa6334f10c48474193fd6780c0
tree0c9cadfb50f8fb87b89a5b289a7101f7e00e9995
parentcf27f3b14961845d816c49abc99aae4863207c77
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