lkml.org 
[lkml]   [2003]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.035 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site