Re: [PATCH] include/hw/qdev-properties: Shrink struct Property by 8 bytes
On 12/13/24 15:06, Richard Henderson wrote: Before, via pahole: Bah. s/by 8 bytes// in subject; moved to the summary at the end. Afterward there are no holes in either structure. For arm32, size 48, padding 2, saved 8 bytes. For arm64, size 72, padding 6, saved 16 bytes. Also meant to say,
[PATCH] include/hw/qdev-properties: Shrink struct Property by 8 bytes
Before, via pahole: arm32, a 32-bit host which aligns uint64_t: struct Property { const char * name; /* 0 4 */ const PropertyInfo * info; /* 4 4 */ ptrdiff_t offset; /* 8