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>
Wed, 22 Jun 2022 17:30:56 +0000 (11:30 -0600)
commit4331dff70eb09c5316b4a492b27d17fafb06f33a
tree6d1964e4313b1035d4f94a61862c6162739754df
parenta2dbdc4e9800314368f7cc079cd17962f92662dc
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