summaryrefslogtreecommitdiffstats
path: root/include/linux/irqnr.h
diff options
context:
space:
mode:
authorMike Travis2009-01-11 07:24:06 +0100
committerIngo Molnar2009-01-11 19:13:35 +0100
commit0fa0ebbf15addc1be8f73325d809c8547a9de304 (patch)
treecd995419a3eb84d3e18e92ff205af86a7a4ed66d /include/linux/irqnr.h
parentirq: use WARN() instead of WARN_ON(). (diff)
downloadkernel-qcow2-linux-0fa0ebbf15addc1be8f73325d809c8547a9de304.tar.gz
kernel-qcow2-linux-0fa0ebbf15addc1be8f73325d809c8547a9de304.tar.xz
kernel-qcow2-linux-0fa0ebbf15addc1be8f73325d809c8547a9de304.zip
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 <travis@sgi.com>
Diffstat (limited to 'include/linux/irqnr.h')
0 files changed, 0 insertions, 0 deletions