From owner-cvs-all Sat Jun 22 9:48:10 2002 Delivered-To: cvs-all@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 134FD37B400; Sat, 22 Jun 2002 09:48:05 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g5MGm2I95346; Sat, 22 Jun 2002 09:48:02 -0700 (PDT) (envelope-from rizzo) Date: Sat, 22 Jun 2002 09:48:02 -0700 From: Luigi Rizzo To: Poul-Henning Kamp Cc: Mark Peek , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa clock.c Message-ID: <20020622094802.D92778@iguana.icir.org> References: <20020622093250.C92778@iguana.icir.org> <648.1024764024@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <648.1024764024@critter.freebsd.dk>; from phk@critter.freebsd.dk on Sat, Jun 22, 2002 at 06:40:24PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 22, 2002 at 06:40:24PM +0200, Poul-Henning Kamp wrote: ... > It's mostly harmless to make it a 64bit quantity, but there is a nasty > division in the timecounter-windup function which would get nastier. speaking of clocks: I have had recurrent problems in the past with boxes using the 8254 as timecounter, saying "microtime went backwards" and showing negative tv_usec values in struct timeval fields returned by gettimeofday. The workaround is to use TSC, but there appears to be a problem in the timekeeping code with the 8254 -- any idea on where this could come from ? cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message