io_uring: rearrange io_kiocb fields for better caching
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 27 Oct 2020 23:25:38 +0000 (23:25 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:03:59 +0000 (12:03 -0700)
commit0415767e7f0542b3cd1ab270c2e61e90e87aafa2
treed7c0a340f110c4399dac3b278331a3a4c63a690b
parentf2f87370bb6664e5babb6705e886cfb340f163e1
io_uring: rearrange io_kiocb fields for better caching

We've got extra 8 bytes in the 2nd cacheline, put ->fixed_file_refs
there, so inline execution path mostly doesn't touch the 3rd cacheline
for fixed_file requests as well.

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