Re: tickle nmi watchdog whilst doing serial writes.

From: Andi Kleen
Date: Sun May 15 2005 - 09:05:20 EST


On Sun, May 15, 2005 at 03:01:03PM +0100, Russell King wrote:
> On Sun, May 15, 2005 at 02:20:14PM +0200, Andi Kleen wrote:
> > Then someone needs to convince Linus to export touch_nmi_watchdog
> > again.
> >
> > Or how about checking if interrupts are off here (iirc we have
> > a generic function for that now) and then using
> > a smaller timeout and otherwise schedule_timeout() ?
>
> The interrupt state doesn't tell us whether we can schedule. It
> tells us when we can't schedule, which is different from when we
> can. For example:

Yes, you're right of course. Must have not been thinking clearly.

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