Date: Thu, 2 Jan 2003 12:06:38 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: Doug Rabson <dfr@nlsystems.com> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 23031 for review Message-ID: <20030102200638.GA616@dhcp01.pn.xcllnt.net> In-Reply-To: <200301020947.04412.dfr@nlsystems.com> References: <200301012226.h01MQHEa035401@repoman.freebsd.org> <200301020947.04412.dfr@nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030102200638.GA616>