Re: 2.6.17-mm6

From: Andrew Morton
Date: Thu Jul 06 2006 - 01:57:57 EST


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. 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?
-
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/