From owner-cvs-all Tue Feb 5 12:44:59 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C89A437B41A; Tue, 5 Feb 2002 12:44:56 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g15KiuB94777; Tue, 5 Feb 2002 12:44:56 -0800 (PST) (envelope-from phk) Message-Id: <200202052044.g15KiuB94777@freefall.freebsd.org> From: Poul-Henning Kamp Date: Tue, 5 Feb 2002 12:44:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/02/05 12:44:56 PST Modified files: sys/sys timetc.h sys/kern kern_tc.c Log: Let the number of timecounters follow hz, otherwise people with HZ=BIGNUM will strain the assumptions behind timecounters to the point where they break. This may or may not help people seeing microuptime() backwards messages. Make the global timecounter variable volatile, it makes no difference in the code GCC generates, but it makes represents the intent correctly. Thanks to: jdp MFC after: 2 weeks Revision Changes Path 1.112 +3 -2 src/sys/kern/kern_tc.c 1.44 +2 -2 src/sys/sys/timetc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message