HomeFreeBSD

Switch to an ifunc in the kernel for crc32c

Description

Switch to an ifunc in the kernel for crc32c

There is no need to read the same variable to check if the CPU supports
crc32c instructions.

Reviewed by: arichardson, kib, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31274

(cherry picked from commit a93941b439fce7047dffad6bc380cc9454b967cd)

Details

Provenance
andrewAuthored on Jul 22 2021, 10:24 AM
Reviewer
arichardson
Differential Revision
D31274: Switch to an ifunc in the kernel for crc32c
Parents
rGe20f0db4a94a: Start to clean up arm64 address space selection
Branches
Unknown
Tags
Unknown