Re: [PATCH 2/2] x86_64 irq: Handle irqs pending in IRR during irq migration.

From: Andi Kleen
Date: Sat Feb 03 2007 - 05:26:28 EST


On Saturday 03 February 2007 11:22, Eric W. Biederman wrote:
> Andi Kleen <ak@xxxxxxx> writes:
>
> >> Once the migration operation is complete we know we will receive
> >> no more interrupts on this vector so the irq pending state for
> >> this irq will no longer be updated. If the irq is not pending and
> >> we are in the intermediate state we immediately free the vector,
> >> otherwise in we free the vector in do_IRQ when the pending irq
> >> arrives.
> >
> > Ok for me, although the magic numbers are a little nasty.
>
> You must be talking about (vector/32) *0x10.

No I meant the -1s

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/