From owner-freebsd-bugs Tue Sep 17 12:40: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C315D37B401 for ; Tue, 17 Sep 2002 12:40:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B7643E72 for ; Tue, 17 Sep 2002 12:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8HJe4Co056475 for ; Tue, 17 Sep 2002 12:40:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HJe4VY056474; Tue, 17 Sep 2002 12:40:04 -0700 (PDT) Date: Tue, 17 Sep 2002 12:40:04 -0700 (PDT) Message-Id: <200209171940.g8HJe4VY056474@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: kern/42875: gettimeofday super rarely returns an impossible tv_usec value Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/42875; it has been noted by GNATS. From: Bruce Evans To: Karl Lehenbauer 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