Re: [PATCH] Dynamic irq_vector allocation for 2.6.0-test6-mm

From: James Cleverdon
Date: Sun Oct 05 2003 - 19:16:01 EST


On Friday 03 October 2003 9:18 pm, Zwane Mwaikambo wrote:
> On Fri, 3 Oct 2003, James Cleverdon wrote:
> > irq_vector is indexed by a value that can be as large as the sum of all
> > the RTEs in all the I/O APICs. On a 32-way x445 or a 16-way x440 with
> > PCI expansion boxes, the static array will overflow.
>
> What is number of interrupt sources on that 32x?

That depends on the number of PCI cards plugged into the slots and how many of
the four interrupt lines (/INTA - /INTD) are used.

However it doesn't matter. Even if no cards are present, the array will still
overflow because the I/O APIC init routines assign a vector to each RTE and
run off the end of irq_vector.

--
James Cleverdon
IBM xSeries Linux Solutions
{jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot comm
-
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/