Re: uptime wrong in 2.5.70

From: john stultz (
Date: Fri Jun 13 2003 - 17:05:24 EST

On Fri, 2003-06-13 at 13:34, george anzinger wrote:
> Clemens Schwaighofer wrote:
> > I a got a test vmware running with a 2.5.70 and I have sligh "overflow"
> > with my uptime.
> >
> > gentoo root # uptime
> > 22:29:47 up 14667 days, 19:08, 3 users, load average: 0.00, 0.00, 0.00
> Uptime currently reports a conversion of jiffies which is currently
> jacked up to a few seconds short of 32 bits worth of jiffies (for
> testing purposes).

Any access to jiffies should be subtracting INITIAL_JIFFIES, so uptime
should still work correctly. I've been unable to reproduce this problem,
so if anyone else sees it I'd love to get more info.

> I have a patch pending with Andrew to convert uptime to use the POSIX
> monotonic clock which a) will start at 0 at boot time and b) will
> account for NTP clock adjustments. Should give an uptime real close
> to the best of watches (or even better) :)

Sounds interesting.


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 : Sun Jun 15 2003 - 22:00:38 EST