Noticed this while manually inspecting DMA tags.
Save 64 bytes of padding (32b after nsegments due to alignment requirements of next member, 32b after map_count due to alignment requirements of next member due to odd number of contig. ints.)
Differential D20121
Optimize padding in powerpc busdma_machdep.c bdragon on May 1 2019, 4:14 AM. Authored by Tags Referenced Files
Subscribers
Details
Noticed this while manually inspecting DMA tags. Save 64 bytes of padding (32b after nsegments due to alignment requirements of next member, 32b after map_count due to alignment requirements of next member due to odd number of contig. ints.)
Diff Detail
Event TimelineComment Actions From my count it saves 8 bytes, not 64. I don't think it's a significant issue, given the size of the structure already, but it's not a bad change, and does allow for better packing. |