summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-05-01 14:40:26 +0200
committerKeith Busch <kbusch@kernel.org>2023-06-12 10:36:42 -0700
commit9d217fb0e778d69b2e3988efbc441976c0fb29b5 (patch)
treee01c7da654bee103ebb2347d2a2e536259583c17 /tools/perf/scripts/python
parentc60651e32f1e886cd85fd9f591ad2d8706173605 (diff)
nvme: reorder fields in 'struct nvme_ctrl'
Group some variables based on their sizes to reduce holes. On x86_64, this shrinks the size of 'struct nvme_ctrl' from 5368 to 5344 bytes when all CONFIG_* are defined. This structure is embedded into some other structures, so it helps reducing their size as well. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions