Andrew Morton <[email protected]> writes:
> On Wed, 05 Jul 2006 23:42:00 -0600
> [email protected] (Eric W. Biederman) wrote:
>
>> So I suspect that we need to de-percpuify kernel_stat.irqs.
>
> I think so. We do:
>
> struct irq_desc *desc = irq_desc + irq;
>
> kstat_this_cpu.irqs[irq]++;
>
> followed immediately by
>
> spin_lock(&desc->lock);
>
> false optimisation, or what?
As an optimization I can't think of a reason.
It is kind of interesting to report that information by cpu.
in /proc/interrupts (see show_interrupts).
But except for understanding system behavior I can't think of a reason
for reporting that information.
It was useful information to have when debugging the irq migration code.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]