From: Alan Mayer Date: Wed, 26 Mar 2008 21:11:31 +0000 (-0500) Subject: x86: resize NR_IRQS for large machines X-Git-Tag: v2.6.27-rc1~1106^2~248^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6859a8402945cf1d74af75a2e1aa4e327a506ab4;p=pandora-kernel.git 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 Reviewed-by: Christoph Lameter Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed