Re: [PATCH][2.5] hangcheck-timer

From: Joel Becker (
Date: Tue Jan 21 2003 - 12:29:41 EST

On Mon, Jan 20, 2003 at 06:45:57PM -0800, john stultz wrote:
> > I'll look into it, but it must absolutely be in terms of wall
> > clock time as measured from outside the system.
> Completely understandable. do_gettimeofday will give you just that (w/o
> the conversion muck w/ HZ and loops_per_jiffy).

        It looks as though gettimeofday calculates wall time from
jiffies. If you udelay(), jiffies doesn't increment and you lose time
(this is exactly what I'm trying to track here). How does gettimeofday
avoid this (maybe I'm misreading the code)?



"Can any of you seriously say the Bill of Rights could get through Congress today? It wouldn't even get out of committee." - F. Lee Bailey

Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: Phone: (650) 506-8127 - 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:27 EST