Re: Fwd: [PATCH] hangcheck-timer

From: john stultz (
Date: Thu Jan 16 2003 - 19:55:20 EST

> Attached is a patch adding hangcheck-timer. It is used to detect
> when the system goes out to lunch for a period of time, and then
> returns. This is interesting for debugging drivers as well as for
> clustering environments.
> The module sets a timer. When the timer goes off, it then uses
> get_cycles() to determine how much real time has passed.

This won't work on systems which do not have synchronized TSCs. Might
you consider using do_gettimeofday() instead?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:14 EST