Re: [RFC][PATCH] linux-2.5.70_btime-fix_A0

From: john stultz (
Date: Wed Jun 04 2003 - 13:20:12 EST

jw schultz wrote:
> On Tue, Jun 03, 2003 at 04:00:59PM -0700, john stultz wrote:
>> Since jiffies didn't necessarily start incrementing at a second
>> boundary, jiffies/HZ doesn't increment at the same moment as
>> xtime.tv_sec. This causes one second wobbles in the calculation of btime
>> (xtime.tv_sec - jiffies/HZ).
> Might it not be cheaper to start jiffies at the 1 second
> boundary or with a value that simulates that?

Ehhh... Mucking with the meaning of jiffies (# of timer ticks) just to fix a
math error in /proc/stat seems like a bit much.

But I'll look to see if I can improve the math some.


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 : Sat Jun 07 2003 - 22:00:24 EST