[PATCH v3 0/2] x86/io-apic: Loop changes

Jason Andryuk posted 2 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20251015210454.95381-1-jason.andryuk@amd.com
xen/arch/x86/io_apic.c | 50 +++++++++++++-----------------------------
1 file changed, 15 insertions(+), 35 deletions(-)
[PATCH v3 0/2] x86/io-apic: Loop changes
Posted by Jason Andryuk 2 weeks ago
The first patch is the v3 resubmission for 4.21.

The second patch shows the conversion of the rest of the file to use
next_entry() in the loops.  It is targetting 4.22.

$ bloat-o-meter xen/xen-syms.baseline xen/xen-syms.patch-1
add/remove: 0/0 grow/shrink: 1/0 up/down: 4/0 (4)
Function                                     old     new   delta
io_apic_level_ack_pending                    218     222      +4
Total: Before=3419485, After=3419489, chg +0.00%

$ bloat-o-meter xen/xen-syms.patch-1 xen/xen-syms.patch-2
add/remove: 1/0 grow/shrink: 0/7 up/down: 31/-62 (-31)
Function                                     old     new   delta
next_entry                                     -      31     +31
setup_IO_APIC                               3435    3430      -5
__print_IO_APIC                             1010    1004      -6
set_ioapic_affinity_irq                      288     281      -7
io_apic_level_ack_pending                    222     214      -8
eoi_IO_APIC_irq                              128     117     -11
dump_ioapic_irq_info                         850     838     -12
modify_IO_APIC_irq                           132     119     -13
Total: Before=3419489, After=3419458, chg -0.00%

Jason Andryuk (2):
  x86/apic: Avoid infinite loop in io_apic_level_ack_pending()
  x86/io_apic: Use next_entry() in loops

 xen/arch/x86/io_apic.c | 50 +++++++++++++-----------------------------
 1 file changed, 15 insertions(+), 35 deletions(-)

-- 
2.51.0