HomeFreeBSD

Detect CPU type before asking VMWare for TSC freq

Description

Detect CPU type before asking VMWare for TSC freq

This allows us to set tsc_is_invariant and select appropriately
fenced versions of RDTSC based on the CPU type.

Reviewed by: markj
Sponsored by: https://www.patreon.com/cperciva

Details

Provenance
cpercivaAuthored on Tue, Jan 4, 7:00 AM
Parents
R10:a727d9531afb: cxgbe(4): Fix bad races between sysctl and driver detach.
Branches
Unknown
Tags
Unknown