commit | f1ee5548a6507d2b4293635c61ddbf12e2c00e94 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Sun Feb 08 16:18:03 2009 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Feb 09 09:21:27 2009 +0100 |
tree | 34af86add791e385c11c8172c870732307feaac8 | |
parent | 8f9ca475c994e4d32f405183d07e8c7eedbdbdb4 [diff] |
x86/irq: optimize nr_irqs Impact: make nr_irqs depend more on cards used in a system depend on nr_irq_gsi more, and have a ratio for MSI. v2: make nr_irqs 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@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>