From owner-cvs-all Mon Nov 30 05:40:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27038 for cvs-all-outgoing; Mon, 30 Nov 1998 05:40:44 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27029; Mon, 30 Nov 1998 05:40:35 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id FAA03590; Mon, 30 Nov 1998 05:38:55 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811301338.FAA03590@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_clock.c In-reply-to: Your message of "Sun, 29 Nov 1998 12:31:03 PST." <199811292031.MAA00945@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Nov 1998 05:38:52 -0800 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > phk 1998/11/29 12:31:03 PST > > Modified files: > sys/kern kern_clock.c > Log: > Make the previous behaviour the default, add a sysctl which you > can set if your hw/sw produces the "calcru negative..." message. The sysctl should be automatically set by the "calcru negative ..." detection code. > Setting the alternate method (sysctl -w kern.timecounter.method=1) > makes the the get{nano|micro}*() functions call the real thing at > resulting in a measurable but minor overhead. This smells like a botch, not a fix. > I decided to NOT have the "calcru" change the method automatically > because you should be aware of this problem if you have it. Bad. There is now no correspondence between the diagnostic and the fix, and the user has to vector through a small number of people in order to resolve their problems. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message