Re: [PATCH] Some clean up of the time code.

From: john stultz (johnstul@us.ibm.com)
Date: Mon Jun 09 2003 - 18:36:00 EST


On Mon, 2003-06-09 at 15:57, george anzinger wrote:
> Pushs down the change from timeval to timespec in the settime routines.

No complaints here.

> Fixes two places where time was set without updating the monotonic
> clock offset. (Changes sys_stime() to call do_settimeofday() and
> changes clock_warp to do the update directly.) These were bugs!

Yea, that sys_stime bug really needed fixing. Thanks for kicking this
out.

> Changes the uptime code to use the posix_clock_monotonic notion of
> uptime instead of the jiffies. This time will track NTP changes and
> so should be better than your standard wristwatch (if your using ntp).

Hmmm. Might want to see if the btime changes from last week could
benefit from a similar change.

Didn't test it personally, but looks good.

thanks
-john

-
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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:22 EST