Date: Tue, 21 Sep 2010 08:02:02 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_tc.c Message-ID: <201009210802.o8L82GKx052624@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2010-09-21 08:02:02 UTC FreeBSD src repository Modified files: sys/kern kern_tc.c Log: SVN rev 212958 on 2010-09-21 08:02:02Z by mav Until hardclock() and respectively tc_windup() called first time, system is running on "dummy" time counter. But to function properly in one-shot mode, event timer management code requires working time counter. Slow moving "dummy" time counter delays first hardclock() call by few seconds on my systems, even though timer interrupts were correctly kicking kernel. That causes few seconds delay during boot with one-shot mode enabled. To break this loop, explicitly call tc_windup() first time during initialization process to let it switch to some real time counter. Revision Changes Path 1.191 +1 -0 src/sys/kern/kern_tc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009210802.o8L82GKx052624>