Date: Tue, 5 Feb 2002 12:44:56 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c Message-ID: <200202052044.g15KiuB94777@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202052044.g15KiuB94777>
