HomeFreeBSD

x86 vdso gettc: reorganize ifunctions.

Description

x86 vdso gettc: reorganize ifunctions.

Instead of providing ifuncs for each kind of fence, define ifuncs
that combine fence and invocation of RDTSC. This refactoring makes
introduction of RDTSCP use possible.

Reviewed by: gallatin, markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27986

Details

Provenance
kibAuthored on Jan 5 2021, 9:14 PM
Reviewer
gallatin
Differential Revision
D27986: x86 tsc: use RDTSCP in preference of fence + RDTSC
Parents
R10:9e680e4005b7: tsc: add RDTSCP or faster variants of get_timecount()
Branches
Unknown
Tags
Unknown