linux/drivers/xen
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
..
xenbus xen: clean up domain mode predicates 2008-08-20 12:40:07 +02:00
balloon.c xen: fix scrub_page() 2008-11-17 19:11:26 +01:00
cpu_hotplug.c x86, um: ... and asm-x86 move 2008-10-22 22:55:20 -07:00
events.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
features.c xen: move features.c from arch/x86/xen/features.c to drivers/xen 2008-04-24 23:57:32 +02:00
grant-table.c xen: clean up domain mode predicates 2008-08-20 12:40:07 +02:00
Kconfig xen: add balloon driver 2008-04-24 23:57:33 +02:00
Makefile Xen: fix cpu_hotplug build when !CONFIG_SMP 2008-09-05 17:44:07 +02:00
manage.c xen: don't reload cr3 on suspend 2008-10-23 21:54:35 +02:00
xencomm.c xen: portability clean up and some minor clean up for xencomm.c 2008-10-23 21:54:36 +02:00