blk-mq: Reorder fields in 'struct blk_mq_tag_set'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 17 Feb 2023 09:29:10 +0000 (10:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Feb 2023 20:37:22 +0000 (13:37 -0700)
commitd88cbbb39b4db057feb1552de31f22c02a21b36f
treebae0386e55ec0616ed881b33b2f66379bcc599f0
parente5cfefa97bccf956ea0bb6464c1f6c84fd7a8d9f
blk-mq: Reorder fields in 'struct blk_mq_tag_set'

Group some variables based on their sizes to reduce hole and avoid padding.
On x86_64, this shrinks the size of 'struct blk_mq_tag_set'
from 304 to 296 bytes.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/6f249f9b02a3490283ef0278096556de41aa0cf0.1676626130.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h