Page MenuHomeFreeBSD

arm64: Read the CPU feature tunables once
ClosedPublic

Authored by andrew on Tue, Sep 16, 4:51 PM.
Tags
None
Referenced Files
F130560655: D52578.diff
Tue, Sep 30, 8:08 AM
Unknown Object (File)
Wed, Sep 24, 10:56 PM
Unknown Object (File)
Wed, Sep 24, 10:49 PM
Unknown Object (File)
Wed, Sep 24, 4:17 PM
Unknown Object (File)
Tue, Sep 23, 7:21 PM
Unknown Object (File)
Wed, Sep 17, 8:18 AM
Unknown Object (File)
Wed, Sep 17, 1:35 AM
Unknown Object (File)
Tue, Sep 16, 11:10 PM
Subscribers

Details

Summary

Rather than reading the CPU tunables each time we enable a feature
just read them once on boot. Reading them early on non-boot CPUs
causes issues where they try to allocate memory before the core is set
up to do so. As they don't change it is safe to cache the state of
them.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable