Re: 2.6.17-mm6

From: Andrew Morton
Date: Thu Jul 06 2006 - 02:33:29 EST


On Wed, 5 Jul 2006 22:59:05 -0700
Andrew Morton <akpm@xxxxxxxx> wrote:

> On Wed, 05 Jul 2006 23:42:00 -0600
> ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
>
> > So I suspect that we need to de-percpuify kernel_stat.irqs.
>
> I think so.

Maybe not. If we do this, we lose the pretty CPUn columns in
/proc/interrupts. That /proc/interrupts display requires that we maintain
NR_CPUS*NR_IRQS counters.

Given that a large NR_IRQs space will be sparsely populated, we should
dynamically allocate the NR_CPUS storage for each active IRQ, as you say.

That involves putting it into the irq_desc (as good a place as any). And a
rather large number of trivial edits. I guess we do this only for genirq?
-
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/