[PATCH 1/7] powerpc: Reduce footprint of irq_stat

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Feb 2 10:07:10 EST 2010


On Mon, 2010-02-01 at 22:55 +0100, Christoph Hellwig wrote:

> > +typedef struct {
> > +	unsigned int __softirq_pending;
> > +} ____cacheline_aligned irq_cpustat_t;
> 
> No need to bother with an irq_cpustat_t type at all in this case, just
> declare a softirq_pending per-cpu variable.

I think his subsequent patches add members to that struct for
CE, MCE etc... stats.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list