From owner-p4-projects Thu Jan 2 1:47:17 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8164A37B405; Thu, 2 Jan 2003 01:47:15 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3CF437B401; Thu, 2 Jan 2003 01:47:14 -0800 (PST) Received: from herring.nlsystems.com (mailgate.nlsystems.com [62.49.251.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 485E043EA9; Thu, 2 Jan 2003 01:47:13 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by herring.nlsystems.com (8.12.6/8.12.6) with ESMTP id h029l4OR023552; Thu, 2 Jan 2003 09:47:04 GMT (envelope-from dfr@nlsystems.com) Content-Type: text/plain; charset="iso-8859-1" From: Doug Rabson To: Marcel Moolenaar , Perforce Change Reviews Subject: Re: PERFORCE change 23031 for review Date: Thu, 2 Jan 2003 09:47:04 +0000 User-Agent: KMail/1.4.3 References: <200301012226.h01MQHEa035401@repoman.freebsd.org> In-Reply-To: <200301012226.h01MQHEa035401@repoman.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301020947.04412.dfr@nlsystems.com> X-Spam-Status: No, hits=-7.7 required=6.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_KMAIL version=2.41 Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wednesday 01 January 2003 10:26 pm, Marcel Moolenaar wrote: > http://perforce.freebsd.org/chv.cgi?CH=3D23031 > > Change 23031 by marcel@marcel_nfs on 2003/01/01 14:25:52 > > =09I cannot convince myself that reloading cr.itm with a delta > =09of cr.itm and not a delta of cr.itc without the logic to > =09detect missed interrupts is not going to harm. Revert the > =09change and add a comment. We should really use cr.itm, but > =09we need to check for missed interrupts so that we don't > =09reload with a value that is smaller than the current counter > =09and thus don't get timer interrupts until the 64-bit counter > =09wraps. It doesn't matter much if there is some inaccuracy in the frequency of=20 calls to hardclock since the actual time is read from the timecounter.=20 The HZ poll rate is used for scheduling and similar, not for timing. --=20 Doug Rabson=09=09=09=09Mail: dfr@nlsystems.com =09=09=09=09=09Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message