summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/rand.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2011-08-22 03:10:29 +0000
committersilby <silby@FreeBSD.org>2011-08-22 03:10:29 +0000
commitee4d73add41ff99c62ad98f1f448e6078d5cafe8 (patch)
tree41331ebf0cb758a5af6fe4608df53b64a2504f90 /lib/libc/stdlib/rand.c
parent4cf14538f19d57ba3cb6d17d5a48d0a651829537 (diff)
downloadFreeBSD-src-ee4d73add41ff99c62ad98f1f448e6078d5cafe8.zip
FreeBSD-src-ee4d73add41ff99c62ad98f1f448e6078d5cafe8.tar.gz
Disable TSC usage inside SMP VM environments. On my VMware ESXi 4.1
environment with a core i5-2500K, operation in this mode causes timeouts from the mpt driver. Switching to the ACPI-fast timer resolves this issue. Switching the VM back to single CPU mode also works, which is why I have not disabled the TSC in that mode. I did not test with KVM or other VM environments, but I am being cautious and assuming that the TSC is not reliable in SMP mode there as well. Reviewed by: kib Approved by: re (kib) MFC after: Not applicable, the timecounter code is new for 9.x
Diffstat (limited to 'lib/libc/stdlib/rand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud