Re: [PATCH] Per cpu irq stat

From: Christoph Lameter
Date: Tue Mar 15 2005 - 02:38:03 EST


On Mon, 14 Mar 2005, Andrew Morton wrote:

> > +DEFINE_PER_CPU(irq_cpustat_t, irq_stat)
> > ____cacheline_maxaligned_in_smp;
>
> Why is this marked ____cacheline_maxaligned_in_smp?

In order to avoid potential false aliasing I guess. irq_cpustat_t is
already marked ___cacheline_aligned though which should be sufficient.
Shai?

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