io_uring: banish non-hot data to end of io_ring_ctx
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 24 Aug 2023 22:53:34 +0000 (23:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Aug 2023 23:16:20 +0000 (17:16 -0600)
commit18df385f42f0b3310ed2e4a3e39264bf5e784692
tree478a3aa845af730f4f4dd9089bf8c48676fb8aba
parentd7f06fea5d6be78403d42c9637f67bc883870094
io_uring: banish non-hot data to end of io_ring_ctx

Let's move all slow path, setup/init and so on fields to the end of
io_ring_ctx, that makes ctx reorganisation later easier. That includes,
page arrays used only on tear down, CQ overflow list, old provided
buffer caches and used by io-wq poll hashes.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/fc471b63925a0bf90a34943c4d36163c523cfb43.1692916914.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h