Re: [PATCH] Per cpu irq stat

From: Andrew Morton
Date: Tue Mar 15 2005 - 01:49:29 EST


Christoph Lameter <christoph@xxxxxxxxxxx> wrote:
>
> The definition of the irq_stat as an array means that the individual
> elements of the irq_stat array are located on one NUMA node requiring
> internode traffic to access irq_stat from other nodes. This patch makes
> irq_stat a per_cpu variable which allows most accesses to be local.

OK...

The wordwrapping monster got at your patch, but I fixed it up.

> +DEFINE_PER_CPU(irq_cpustat_t, irq_stat)
> ____cacheline_maxaligned_in_smp;

Why is this marked ____cacheline_maxaligned_in_smp?
-
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/