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

David Mosberger-Tang (davidm@mostang.com)
Tue, 6 May 2003 21:30:03 -0700


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

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