io_uring: move submit side state closer in the ring
authorJens Axboe <axboe@kernel.dk>
Thu, 11 Feb 2021 17:48:03 +0000 (10:48 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Feb 2021 17:48:03 +0000 (10:48 -0700)
commit3c1a2ead915c1bcb7b1f9e902469ea0ee1f7857f
tree2eb26e63595cc3a43603dfe85386a06f427c9bb0
parente68a3ff8c342b655f01f74a577c15605eec9aa12
io_uring: move submit side state closer in the ring

We recently added the submit side req cache, but it was placed at the
end of the struct. Move it near the other submission state for better
memory placement, and reshuffle a few other members at the same time.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c