From owner-p4-projects Thu Jan 2 12: 5:27 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4765E37B405; Thu, 2 Jan 2003 12:05:26 -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 E8D5737B401 for ; Thu, 2 Jan 2003 12:05:25 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81DD643ED1 for ; Thu, 2 Jan 2003 12:05:24 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id h02K5OrT029288; Thu, 2 Jan 2003 12:05:24 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id h02K6dLL000652; Thu, 2 Jan 2003 12:06:39 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id h02K6cP9000651; Thu, 2 Jan 2003 12:06:38 -0800 (PST) (envelope-from marcel) Date: Thu, 2 Jan 2003 12:06:38 -0800 From: Marcel Moolenaar To: Doug Rabson Cc: Perforce Change Reviews Subject: Re: PERFORCE change 23031 for review Message-ID: <20030102200638.GA616@dhcp01.pn.xcllnt.net> References: <200301012226.h01MQHEa035401@repoman.freebsd.org> <200301020947.04412.dfr@nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301020947.04412.dfr@nlsystems.com> User-Agent: Mutt/1.5.1i 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 Thu, Jan 02, 2003 at 09:47:04AM +0000, Doug Rabson wrote: > On Wednesday 01 January 2003 10:26 pm, Marcel Moolenaar wrote: > > http://perforce.freebsd.org/chv.cgi?CH=23031 > > > > Change 23031 by marcel@marcel_nfs on 2003/01/01 14:25:52 > > > > I cannot convince myself that reloading cr.itm with a delta > > of cr.itm and not a delta of cr.itc without the logic to > > detect missed interrupts is not going to harm. Revert the > > change and add a comment. We should really use cr.itm, but > > we need to check for missed interrupts so that we don't > > reload with a value that is smaller than the current counter > > and thus don't get timer interrupts until the 64-bit counter > > wraps. > > It doesn't matter much if there is some inaccuracy in the frequency of > calls to hardclock since the actual time is read from the timecounter. > The HZ poll rate is used for scheduling and similar, not for timing. Ah, ok. Thanks, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message