Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)

From: john stultz
Date: Thu Aug 25 2005 - 13:11:26 EST


On Thu, 2005-08-25 at 02:45 +0200, Roman Zippel wrote:
> Hi,
>
> On Wed, 24 Aug 2005, john stultz wrote:
>
> > Ok, well, I'm still at a loss for understanding how this avoids my
> > concern about time inconsistencies.
>
> Let's take a simple example to demonstrate the difference between system
> time and reference time.

[snip]

> 17000 16974 8 -26
> 18 18000 17958 8 -42
> 19 19000 18942 8 -58
> 20 20000 19926 8 -74
>
> let's assume we're late with the update by 10 cycles
> (gettimeofday=19926+10*8=20006), so a change to the mult also requires a
> adjustment of the system time:
>
> 20+10 20000 19916 9 -84
>
> so gettimeofday=19916+10*9=20006

Hey Roman,
Thanks for your patient persistence. The light bulb finally clicked on
for me last night. I'll start playing with the idea and get back to
you.

thanks again,
-john

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/