io_uring: better caching for ctx timeout fields
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 16:33:49 +0000 (17:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:44:04 +0000 (08:44 -0600)
commit0c991fc904d3b179665970e53114520f690291ec
tree2384643e55355fedb03776a905e93bc7722acedd
parent5925ae6bf9287f1b7e41b314cc78533c3eca003f
io_uring: better caching for ctx timeout fields

Following timeout fields access patterns, move all of them into a
separate cache line inside ctx, so they don't intervene with normal
completion caching, especially since timeout removals and completion
are separated and the later is done via tw.

It also sheds some bytes from io_ring_ctx, 1216B -> 1152B

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4b163793072840de53b3cb66e0c2995e7226ff78.1655310733.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring_types.h