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
..
2008-11-30 10:03:37 -08:00
2008-07-25 10:53:43 -07:00
2008-10-20 08:50:24 -07:00
2008-06-20 14:05:55 -06:00
2008-10-13 09:51:38 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 09:41:06 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:57 -06:00
2008-11-01 09:49:46 -07:00
2008-11-30 10:03:36 -08:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2008-10-16 11:21:47 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:39 -07:00
2007-07-21 17:49:16 -07:00
2008-10-13 09:51:44 -07:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-11-01 09:49:46 -07:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:29:03 -07:00
2008-11-11 21:14:11 -05:00
2008-07-20 17:12:38 -07:00
2008-10-20 08:52:36 -07:00
2008-10-20 08:52:34 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-10-23 09:20:53 -07:00
2008-07-26 20:29:03 -07:00
2008-10-16 16:52:05 +02:00