Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 12:40:04 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/42875: gettimeofday super rarely returns an impossible tv_usec value
Message-ID:  <200209171940.g8HJe4VY056474@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR kern/42875; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: Karl Lehenbauer <karl@habitat.procplace.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/42875: gettimeofday super rarely returns an impossible
 tv_usec value
Date: Wed, 18 Sep 2002 05:46:34 +1000 (EST)

 On 17 Sep 2002, Karl Lehenbauer wrote:
 
 > >Release:        FreeBSD 4.6-STABLE i386
 >
 > >Description:
 > 	Maybe one in thirty million times, gettimeofday will return
 > 	an invalid tv_usec value (microseconds).  It should ALWAYS
 > 	be between 0 and 999999, but it is occasionally a very large
 > 	negative number.
 
 Does this really happen in 4.6R?  It should have been fixed between
 4.5R and 4.6R by:
 
 % RCS file: /home/ncvs/src/sys/kern/kern_clock.c,v
 % Working file: kern_clock.c
 % head: 1.141
 % ...
 % ----------------------------
 % revision 1.105.2.7
 % date: 2002/02/05 18:50:07;  author: phk;  state: Exp;  lines: +3 -3
 % MFC:  make timecounters more rubust for large deltas from hardware.
 % ----------------------------
 
 Bruce
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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