]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r249625:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 May 2013 13:19:31 +0000 (13:19 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 May 2013 13:19:31 +0000 (13:19 +0000)
commitf7c5aa65da9d738d9a743caebc14db757500baa2
treeaf1f74ece353d69c67e132dfd2fa23f0ee8fe624
parentf1ce86aa15a63588c669c85861b59e81e895a685
MFC r249625:
Introduce kern.timecounter.smp_tsc_adjust tunable (disabled by default) and
respective functionality, allowing to synchronize TSC on APs to match BSP's
during boot.  It may be unsafe in general case due to theoretical chance of
later drift if CPUs are using different clock rate or source, but it allows
to use TSC in some cases when difference caused by some initialization bug,
while TSCs are known to increment synchronously.

git-svn-id: svn://svn.freebsd.org/base/stable/9@250772 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/x86/x86/tsc.c