Re: how can I touch softlockup watchdog on all cpus?

From: Dave Jones
Date: Thu Mar 22 2007 - 21:16:40 EST


On Thu, Mar 22, 2007 at 03:46:54PM -0700, Jeremy Fitzhardinge wrote:
> Cestonaro, Thilo (external) wrote:
> > It's a condition of a customer of us, so I can't change it.
> >
> > But it happens not often that my part is used. So I thought there is a mechanism to disable or reset the watchdog
> > because it is a legal pause for it. And there is one "touch_softlockup_watchdog()", that does what I want,
> > BUT just for the current cpu. And so the watchdog blats from the other cpu.
> >
>
> on_each_cpu(touch_softlockup_watchdog, NULL, 0, 0)?

He wants to do this with interrupts off. on_each_cpu won't work in
that situation.

> Or patch the softlockup watchdog to add a way to temporarily disable it.

Seems pretty much the only way you could make this work.

Dave

--
http://www.codemonkey.org.uk
-
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/