Date: Sun, 24 Feb 2002 12:04:07 -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: <200202242004.g1OK47178891@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2002/02/24 12:04:07 PST
Modified files:
sys/sys timetc.h
sys/kern kern_tc.c
Log:
Add a generation number to timecounters and spin if it changes under
our feet when we look inside timecounter structures.
Make the "sync_other" code more robust by never overwriting the
tc_next field.
Add counters for the bin[up]time functions.
Call tc_windup() in tc_init() and switch_timecounter() to make sure
we all the fields set right.
Revision Changes Path
1.115 +61 -36 src/sys/kern/kern_tc.c
1.46 +3 -1 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?200202242004.g1OK47178891>
