Re: [PATCH] x86/irq: optimizing nr_irqs -v2

From: Ingo Molnar
Date: Mon Feb 09 2009 - 03:14:46 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

>
> Impact: more depend on cards to be used
>
> depend on nr_irq_gsi more, and have a ratio for MSI
>
> v2: make nr_irqs shoule less than NR_VECTORS * nr_cpu_ids
> aka if only one cpu, we only can support nr_irqs = NR_VECTORS
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
>
> ---
> arch/x86/kernel/io_apic.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)

Applied to tip/x86/apic, thanks Yinghai!

Ingo
--
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/