From: Mike Travis Date: Sun, 11 Jan 2009 06:24:06 +0000 (-0800) Subject: irq: allocate irq_desc_ptrs array based on nr_irqs X-Git-Tag: v2.6.30-rc1~3^2~6^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa0ebbf15addc1be8f73325d809c8547a9de304;p=pandora-kernel.git irq: allocate irq_desc_ptrs array based on nr_irqs Impact: allocate irq_desc_ptrs in preparation for making it variable-sized. This addresses this memory usage bump when NR_CPUS bumped from 128 to 4096: 34816 +229376 264192 +658% irq_desc_ptrs(.data.read_mostly) The patch is split into two parts, the first simply allocates the irq_desc_ptrs array. Then next will deal with making it variable. This is only when CONFIG_SPARSE_IRQS=y. Signed-off-by: Mike Travis --- Reading git-diff-tree failed