summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hw_irq_64.h
diff options
context:
space:
mode:
authorAlan Mayer <ajm@sgi.com>2008-03-26 22:11:31 +0100
committerIngo Molnar <mingo@elte.hu>2008-05-12 21:28:05 +0200
commit6859a8402945cf1d74af75a2e1aa4e327a506ab4 (patch)
treefd663e47f31a8c30718af560132e1e58940c475f /include/asm-x86/hw_irq_64.h
parentLinux 2.6.26-rc2 (diff)
downloadlinux-6859a8402945cf1d74af75a2e1aa4e327a506ab4.tar.xz
linux-6859a8402945cf1d74af75a2e1aa4e327a506ab4.zip
x86: resize NR_IRQS for large machines
On machines with very large numbers of cpus, tables that are dimensioned by NR_IRQS get very large, especially the irq_desc table. They are also very sparsely used. When the cpu count is > MAX_IO_APICS, use MAX_IO_APICS to set NR_IRQS, otherwise use NR_CPUS. Signed-off-by: Alan Mayer <ajm@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/hw_irq_64.h')
0 files changed, 0 insertions, 0 deletions