Skip to content

x86/io-apic: Loop changes

Jason Andryuk xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v21 patch 7 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/apic: Avoid infinite loop in io_apic_level_ack_pending()xen/arch/x86/io_apic.c+9 -82 replies
2/2x86/io_apic: Use next_entry() in loopsxen/arch/x86/io_apic.c+14 -352 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchOleksii KurochkoJan Beulich
1/2Release-Acked-by
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.51.0