Re: [PATCH 5/8] x86: apic: Try to spread IRQ vectors to differentpriority levels

From: Alexander Gordeev
Date: Wed Jun 06 2012 - 15:41:09 EST


On Wed, Jun 06, 2012 at 12:16:08PM -0700, Eric W. Biederman wrote:
> Alexander Gordeev <agordeev@xxxxxxxxxx> writes:
>
> > When assigning a new vector it is primarially done by adding 8 to the
> > previously given out vector number. Hence, two consequently allocated
> > vector numbers would likely fall into the same priority level. Try to
> > spread vector numbers to different priority levels better by changing
> > the step from 8 to 16.
>
> A weird goal. Given that linux ignores all priority levels internally
> we would be better incrementing by 1. The practical problem is that
> some older hardware would fail if you had more than two devices per
> priority level.

Yes, the patch is aimed at those older hardware. For a newer hardware it will
not bring any change.

But also to stop asking myself: why 8, not 1 or 16? :)

> Eric

--
Regards,
Alexander Gordeev
agordeev@xxxxxxxxxx
--
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/