]> xenbits.xensource.com Git - xen.git/commit
x86/irq: remove offline CPUs from old CPU mask when adjusting move_cleanup_count
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 10 Jun 2024 08:33:22 +0000 (10:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Jun 2024 08:33:22 +0000 (10:33 +0200)
commite63209d3ba2fd1b2f232babd14c9c679ffa7b09a
tree5ea55616f925864ab5e368f843c0f9cff2a3f8e7
parentc2d5e63c7380c7cb435d00211b512c53accb528e
x86/irq: remove offline CPUs from old CPU mask when adjusting move_cleanup_count

When adjusting move_cleanup_count to account for CPUs that are offline also
adjust old_cpu_mask, otherwise further calls to fixup_irqs() could subtract
those again and create an imbalance in move_cleanup_count.

Fixes: 472e0b74c5c4 ('x86/IRQ: deal with move cleanup count state in fixup_irqs()')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/irq.c