lkml.org 
[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 13/22 -v2] handle accurate time keeping over long delays

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


\
 
 \ /
  Last update: 2008-01-10 01:13    [W:0.321 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site