Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 09:48:02 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Mark Peek <mp@FreeBSD.org>, 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>
In-Reply-To: <648.1024764024@critter.freebsd.dk>; from phk@critter.freebsd.dk on Sat, Jun 22, 2002 at 06:40:24PM %2B0200
References:  <20020622093250.C92778@iguana.icir.org> <648.1024764024@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020622094802.D92778>