Re: [QUESTION] is vector_lock needed in apic_retrigger_irq() ?
From: Thomas Gleixner
Date: Tue Feb 17 2026 - 16:08:27 EST
On Mon, Feb 16 2026 at 21:44, Luigi Rizzo wrote:
> apic_retrigger_irq() grabs vector_lock, see code below.
>
> I am not sure if this is needed, because the function
> is called with a lock held on irqdesc, so I think the CPU and
> vector should be stable.
>
> Comments ?
You're right. Any action which would change apcid->vector has to hold
the descriptor lock.