Date: Sun, 17 Oct 2010 16:46:54 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/sparc64 tick.c Message-ID: <201010171647.o9HGlBuR002463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-10-17 16:46:54 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 tick.c Log: SVN rev 213985 on 2010-10-17 16:46:54Z by marius - In oneshot-mode it doesn't make sense to try to compensate the clock drift in order to achieve a more stable clock as the tick intervals may vary in the first place. In fact I haven't seen this code kick in when in oneshot-mode so just skip it in that case. - There's no need to explicitly stop the (S)TICK counter in oneshot-mode with every tick as it just won't trigger again with the (S)TICK compare register set to a value in the past (with a wrap-around once every ~195 years of uptime at 1.5 GHz this isn't something we have to worry about in practice). - Given that we'll disable interrupts completely anyway there's no need to enter critical sections. Revision Changes Path 1.30 +41 -45 src/sys/sparc64/sparc64/tick.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010171647.o9HGlBuR002463>