Re: better leve triggered IRQ management needed

From: Arjan van de Ven
Date: Mon Apr 24 2006 - 16:43:40 EST


On Mon, 2006-04-24 at 16:16 -0400, Alan Cox wrote:
> On Mon, Apr 24, 2006 at 09:53:22PM +0200, Arjan van de Ven wrote:
> > we now have that neat polling thing Alan did for interrupts (but which
> > is optional). To limp along better the kernel could auto-enable that for
> > any such shared interrupt automatically as a "safe fallback"...
> > (or heck, if things are this broken, you probably want it for all
> > interrupts at that point just to be sure)
>
> That is really something drivers should handle themselves if they are doing
> shared edge trigger.

but the issue is .. drivers don't know. They didn't *want* edge trigger
in the first place generally

> For one the kernel core has no idea the right polling
> time

well... the corner case (as rmk described) is full starvation; even
polling once per second is better than not polling at tall there.,..

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