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>
Fri, 17 Jun 2022 14:25:35 +0000 (08:25 -0600)
commit915544ef9a3e70eb6baa0511f5a09ae1f73f9ebd
tree5f897d48eb8dde1e687f41315b9a104193c49474
parent074b75d33969a102674c2647793ad76fe4a25245
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