]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r239133 (by jimharris):
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Jun 2014 18:58:32 +0000 (18:58 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Jun 2014 18:58:32 +0000 (18:58 +0000)
commit11edd553dd23e2e18250c1c7d22a32908367a450
treed5711083e88c703b64431768feb41e3b1e49fcd1
parent41e75e7fdc55895cd19c66cc47e794ea8d90ec78
MFC r239133 (by jimharris):
During TSC synchronization test, use rdtsc() rather than rdtsc32(), to
protect against 32-bit TSC overflow while the sync test is running.

On dual-socket Xeon E5-2600 (SNB) systems with up to 32 threads, there
is non-trivial chance (2-3%) that TSC synchronization test fails due to
32-bit TSC overflow while the synchronization test is running.

Approved by: re (delphij)

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