Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756976AbYAJAKT (ORCPT ); Wed, 9 Jan 2008 19:10:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753945AbYAJAKD (ORCPT ); Wed, 9 Jan 2008 19:10:03 -0500 Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57]:38615 "EHLO ms-smtp-03.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753438AbYAJAKA (ORCPT ); Wed, 9 Jan 2008 19:10:00 -0500 Date: Wed, 9 Jan 2008 19:09:55 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: john stultz cc: LKML , Ingo Molnar , Linus Torvalds , Andrew Morton , Peter Zijlstra , Christoph Hellwig , Mathieu Desnoyers , Gregory Haskins , Arnaldo Carvalho de Melo , Thomas Gleixner , Tim Bird , Sam Ravnborg , "Frank Ch. Eigler" , Steven Rostedt Subject: Re: [RFC PATCH 13/22 -v2] handle accurate time keeping over long delays In-Reply-To: <1199923219.6350.16.camel@localhost.localdomain> Message-ID: References: <20080109232914.676624725@goodmis.org> <20080109233044.288563621@goodmis.org> <1199923219.6350.16.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1061 Lines: 30 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/