Re: [RFC PATCH 13/22 -v2] handle accurate time keeping over long delays

Steven Rostedt
2008-01-10T00:10:19Z

On Wed, 9 Jan 2008, john stultz wrote:
> > ---
> > arch/x86/kernel/vsyscall_64.c | 5 ++-
> > include/asm-x86/vgtod.h | 2 -
> > include/linux/clocksource.h | 58 ++++++++++++++++++++++++++++++++++++++++--
> > kernel/time/timekeeping.c | 35 +++++++++++++------------
> > 4 files changed, 80 insertions(+), 20 deletions(-)
> >
> > linux-2.6.21-rc5_cycles-accumulated_C7.patch
> ^^ An oldie but a goodie?

Hehe, I got this directly from the RT queue.

>
> I was just reminded that in the time since 2.6.21-rc5, other arches
> beside x86_64 have gained vgettimeofday implementations, and thus will
> need similar update_vsyscall() tweaks as seen below to get the correct
> time.
>
> Here's the fix for x86_64:

Thanks! I'll fold this into this patch for the next release.

-- Steve