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 Jan 4 2022, 7:00 AM
Parents
rGa727d9531afb: cxgbe(4): Fix bad races between sysctl and driver detach.
Branches
Unknown
Tags
Unknown