diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-05-12 14:11:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-27 03:32:51 +0300 |
commit | 7a147670035ddec35f3fb2ace538ad56ad82c861 (patch) | |
tree | 37bf224dcad51946099a921930cc24031f326fb2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aea07a986c2f9d456fcdad21ad14cfc49b3114ab (diff) | |
download | linux-7a147670035ddec35f3fb2ace538ad56ad82c861.tar.xz |
regulator: consumer: Reorder fields in 'struct regulator_bulk_data'
Based on pahole, 2 holes can be combined in 'struct regulator_bulk_data'.
On x86_64 and allmodconfig, this shrinks the size of the structure from 32
to 24 bytes.
This is usually a win, because this structure is often used for static
global variables.
As an example:
Before:
text data bss dec hex filename
3557 162 0 3719 e87 drivers/gpu/drm/msm/dsi/dsi_cfg.o
After:
text data bss dec hex filename
3477 162 0 3639 e37 drivers/gpu/drm/msm/dsi/dsi_cfg.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://msgid.link/r/35c4edf2dbc6d4f24fb771341ded2989ae32f779.1715512259.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions