Messages in this thread | | | Date | Tue, 21 Jan 2003 17:42:37 +0000 | From | Dave Jones <> | Subject | Re: [PATCH][2.5] hangcheck-timer |
| |
On Tue, Jan 21, 2003 at 09:40:02AM -0800, Joel Becker wrote:
> > I'm puzzled. What does this do that softdog.c doesn't ? > > First, softdog.c requires userspace interaction. Second, softdog.c > relies on jiffies. If the system goes out to lunch via udelay() or > another hardware call that freezes the CPUs for a bit, jiffies does not > increment. The system could be frozen for two minutes (qla2x00 used to > do this for 90 seconds) and softdog.c never notices, because jiffies > hasn't counted a single second during this time.
Ok, seems to make sense now, thanks. Wouldn't this belong under drivers/char/watchdog too though ? It seems very 'watchdog-ish' to me.
Dave
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |