linux/kernel/irq
Yinghai Lu 0b8f1efad3 sparse irq_desc[] array: core kernel and x86 changes
Impact: new feature

Problem on distro kernels: irq_desc[NR_IRQS] takes megabytes of RAM with
NR_CPUS set to large values. The goal is to be able to scale up to much
larger NR_IRQS value without impacting the (important) common case.

To solve this, we generalize irq_desc[NR_IRQS] to an (optional) array of
irq_desc pointers.

When CONFIG_SPARSE_IRQ=y is used, we use kzalloc_node to get irq_desc,
this also makes the IRQ descriptors NUMA-local (to the site that calls
request_irq()).

This gets rid of the irq_cfg[] static array on x86 as well: irq_cfg now
uses desc->chip_data for x86 to store irq_cfg.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-08 14:31:51 +01:00
..
autoprobe.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
chip.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
devres.c
handle.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
internals.h genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
Makefile
manage.c genirq: __irq_set_trigger: change pr_warning to pr_debug 2008-11-13 11:59:48 +01:00
migration.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
proc.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00