Re: [PATCH] sparse_irq aka dyn_irq v13

From: Mike Travis
Date: Thu Nov 13 2008 - 19:21:18 EST


Yinghai Lu wrote:
> Mike Travis wrote:
>> Andrew Morton wrote:
>>> On Thu, 13 Nov 2008 14:41:36 -0800
>>> Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>>>
>> That's a good question. If there are 4k or 16k cpus, would the number of
>> irq's being "kstat'd" need to be > 64k? (I'm not exactly sure why there
>> are NR_CPUS * NR_IRQS_LEGACY kstat entries per IRQ?)
>
> can be replaced with nr_cpu_ids * NR_IRQS_LEGACY...
>
> YH

Ok, but why does each irq need a list of all other irq's in the system?
Can they be collapsed into one array or percpu list?

Thanks,
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/