Re: [patch 3/8] x86/apic: Provide apic_ack_irq()

From: Thomas Gleixner
Date: Tue Jun 05 2018 - 07:41:54 EST


On Tue, 5 Jun 2018, Dou Liyang wrote:
> > +{
> > + if (unlikely(irqd_is_setaffinity_pending(irqd)))
>
> Affinity pending is also judged in
>
> > + irq_move_irq(irqd);
>
> If we can remove the if(...) statement here

That requires to fix all call sites in ia64 and that's why I didn't. But
we can make irq_move_irq() an inline function and have the check in the
inline.

Thanks,

tglx