diff options
author | 2025-04-03 18:59:12 +0300 | |
---|---|---|
committer | 2025-04-07 09:38:38 +0300 | |
commit | 2c6c34e0cabe1351c6b1894ba8093cac11882e71 (patch) | |
tree | 16c0e5298e2fbb8a9ab9ea958a6fb1d0e69cd30a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.15-rc1 (diff) | |
download | wireguard-linux-2c6c34e0cabe1351c6b1894ba8093cac11882e71.tar.xz wireguard-linux-2c6c34e0cabe1351c6b1894ba8093cac11882e71.zip |
gpiolib: acpi: Improve struct acpi_gpio_info memory footprint
The struct acpi_gpio_info has two boolean members that are located
not close to each other making two gaps due to alignment requirements.
Group them to improve memory footprint.
`pahole` difference before and after (on 32-bit):
- /* size: 36, cachelines: 1, members: 9 */
- /* sum members: 30, holes: 2, sum holes: 6 */
+ /* size: 32, cachelines: 1, members: 9 */
+ /* sum members: 30, holes: 1, sum holes: 2 */
Acked-by: Mika Westerberg <westeri@kernel.org>
Link: https://lore.kernel.org/r/20250403160034.2680485-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions