Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262761AbTKYRNX (ORCPT ); Tue, 25 Nov 2003 12:13:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262762AbTKYRNX (ORCPT ); Tue, 25 Nov 2003 12:13:23 -0500 Received: from fw.osdl.org ([65.172.181.6]:29086 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262761AbTKYRNU (ORCPT ); Tue, 25 Nov 2003 12:13:20 -0500 Date: Tue, 25 Nov 2003 09:13:53 -0800 From: Stephen Hemminger To: Joe Korty Cc: linux-kernel@vger.kernel.org Subject: Re: [RFC] possible erronous use of tick_usec in do_gettimeofday Message-Id: <20031125091353.00dd144a.shemminger@osdl.org> In-Reply-To: <20031125164237.GA15498@rudolph.ccur.com> References: <1067300966.1118.378.camel@cog.beaverton.ibm.com> <20031027171738.1f962565.shemminger@osdl.org> <20031028115558.GA20482@iram.es> <20031028102120.01987aa4.shemminger@osdl.org> <20031029100745.GA6674@iram.es> <20031029113850.047282c4.shemminger@osdl.org> <16288.17470.778408.883304@wombat.chubb.wattle.id.au> <3FA1838C.3060909@mvista.com> <16289.39801.239846.9369@wombat.chubb.wattle.id.au> <20031125164237.GA15498@rudolph.ccur.com> Organization: Open Source Development Lab X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 580 Lines: 15 On Tue, 25 Nov 2003 11:42:38 -0500 Joe Korty wrote: > 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. Your right. tick_usec is in user hz so the value of max_ntp_tick would be too large. - 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/