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

From: Andi Kleen
Date: Sat Jun 19 2010 - 04:35:23 EST


Arjan van de Ven <arjan@xxxxxxxxxxxxx> writes:

> On Sun, 13 Jun 2010 17:31:35 +0200
> Tejun Heo <tj@xxxxxxxxxx> wrote:
>> + */
>> +void expect_irq(struct irq_expect *exp)
>
>
> I would like to suggest an (optional) argument to this with a duration
> within which to expect an interrupt....
>
> that way in the backend we can plumb this also into the idle handler
> for C state selection...

I'm not sure it's really that useful to power optimize
the lost interrupts polling case. It's just a last resort
fallback anyways and will be always less power efficient
because there will be unnecessary polls.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/