On 02.02.2025 14:48, Andrew Cooper wrote: > This removes the unnecessary work of splitting a 32-bit number across > 4 registers, and recombining later. Bloat-o-meter reports: > > add/remove: 0/0 grow/shrink: 0/9 up/down: 0/-295 (-295) > Function old new delta > enable_iommu 1748 1732 -16 > iommu_msi_unmask 98 81 -17 > iommu_msi_mask 100 83 -17 > disable_iommu 286 269 -17 > __msi_set_enable 81 50 -31 > __pci_disable_msi 178 146 -32 > pci_cleanup_msi 268 229 -39 > pci_enable_msi 1063 1019 -44 > pci_restore_msi_state 1116 1034 -82 > > Signed-off-by: Andrew Cooper <[email protected]>
Reviewed-by: Jan Beulich <[email protected]> I was actually thinking to do the same. And we have more of such conversions to be done. Jan
