Re: [PATCH][RFC] fixing the irqwcpustat mess

Andi Kleen (ak@suse.de)
07 May 2003 06:49:55 +0200


On Wed, 2003-05-07 at 06:30, David Mosberger-Tang wrote:
> >>>>> On 07 May 2003 06:24:54 +0200, Andi Kleen <ak@suse.de> said:
>
> Andi> On Mon, 2003-05-05 at 21:25, Christoph Hellwig wrote:
> >> +#ifndef __ARCH_IRQ_STAT irq_cpustat_t irq_stat[NR_CPUS]
> >> ____cacheline_aligned; +EXPORT_SYMBOL(irq_stat); +#endif
>
> Andi> Shouldn't this be per_cpu_data ?
>
> That's what we do on ia64. Though we actually end up putting it in
> the cpuinfo structure, for historical reasons but also to ensure that
> it's close to some other stuff that's used on the irq path.

x86-64 does the same (putting it into the PDA). Was just commenting
generically for the other ports.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/