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

From: Steven Rostedt
Date: Wed Jan 09 2008 - 19:10:19 EST



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