]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit747ef55eb4494295860cc3c79728c1b7dd71210d
treed7c0a340f110c4399dac3b278331a3a4c63a690b
parent20a2910979b65220ee9bae2e04f5e41c251a8cd4
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