Re: [PATCH v2] x86/irq: do not release irq until all cleanup is done

2022-11-17 Thread Jan Beulich
On 16.11.2022 13:21, Roger Pau Monne wrote: > Current code in _clear_irq_vector() will mark the irq as unused before > doing the cleanup required when move_in_progress is true. > > This can lead to races in create_irq() if the function picks an irq > desc that's been marked as unused but has move_

[PATCH v2] x86/irq: do not release irq until all cleanup is done

2022-11-16 Thread Roger Pau Monne
Current code in _clear_irq_vector() will mark the irq as unused before doing the cleanup required when move_in_progress is true. This can lead to races in create_irq() if the function picks an irq desc that's been marked as unused but has move_in_progress set, as the call to assign_irq_vector() in