io_uring: move 'poll_multi_queue' bool in io_ring_ctx
authorJens Axboe <axboe@kernel.dk>
Wed, 4 Jan 2023 20:49:54 +0000 (13:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Jan 2023 20:49:54 +0000 (13:49 -0700)
commit59b745bb4e0bd445366c45b8df6b51b69134f4f5
tree8b7cfdd6c89ecbd48ef41398226cdc42e205dd38
parentf26cc9593581bd734c846bf827401350b36dc3c9
io_uring: move 'poll_multi_queue' bool in io_ring_ctx

The cacheline section holding this variable has two gaps, where one is
caused by this bool not packing well with structs. This causes it to
blow into the next cacheline. Move the variable, shrinking io_ring_ctx
by a full cacheline in size.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h