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>
Mon, 25 Jul 2022 00:39:12 +0000 (18:39 -0600)
commitaff5b2df9e8b35f9814c5a4907f471472cd6be77
treead1d0682c949c2236da39845808ce7b9e4630d77
parentb25436038f6cc20c3198792cbfab8a312d09282e
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