Re: [PATCH 09/12] irq: implement IRQ expecting

From: Arjan van de Ven
Date: Sat Jun 19 2010 - 10:55:23 EST


On Sat, 19 Jun 2010 11:00:31 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > IIUC, it's not to help or optimize polling itself. It just gives
> > us a way to estimate when the next interrupt would be so that power
> > can be optimized for non polling cases.
>
> Shouldn't the idle governour estimate this already?

we have a set of heuristics in the idle governor to try to predict the
future. For patterns that are regular in some shape of form we can do
this.

Here we have the opportunity to get real good information.. we KNOW
now an interrupt is coming, and we can even estimate how long it'll
be... Even for the first few after a long time, before a pattern
emerges.



--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/