Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261799AbTK1B3u (ORCPT ); Thu, 27 Nov 2003 20:29:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261801AbTK1B3t (ORCPT ); Thu, 27 Nov 2003 20:29:49 -0500 Received: from zero.aec.at ([193.170.194.10]:33033 "EHLO zero.aec.at") by vger.kernel.org with ESMTP id S261799AbTK1B3s (ORCPT ); Thu, 27 Nov 2003 20:29:48 -0500 To: Joe Korty Cc: shemminger@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] possible erronous use of tick_usec in do_gettimeofday From: Andi Kleen Date: Fri, 28 Nov 2003 02:29:30 +0100 In-Reply-To: (Joe Korty's message of "Tue, 25 Nov 2003 17:50:47 +0100") Message-ID: User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i586-suse-linux) References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 19 Joe Korty writes: > test10's version of do_gettimeofday is using tick_usec which is > defined in terms of USER_HZ not HZ. > > Against 2.6.0-test10-bk1. Compiled, not tested, for comment only. > I added the changes to x86-64, but at least ping still complains that the time is going backwards. The machine is running ntpd and has a high drift (AMD 8111 chipset, doesn't have the most stable timer in the world) -Andi - 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/