Page MenuHomeFreeBSD

arm64 pmap: Tidy up pmap_promote_l2() calls
ClosedPublic

Authored by alc on Jun 28 2023, 7:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 9:05 PM
Unknown Object (File)
Thu, May 2, 9:05 PM
Unknown Object (File)
Thu, May 2, 9:05 PM
Unknown Object (File)
Thu, May 2, 5:05 PM
Unknown Object (File)
Sat, Apr 27, 8:46 AM
Unknown Object (File)
Mar 7 2024, 2:09 PM
Unknown Object (File)
Feb 18 2024, 1:41 AM
Unknown Object (File)
Dec 20 2023, 6:22 AM
Subscribers

Details

Summary

Since pmap_ps_enabled() is true by default, check it inside of pmap_promote_l2() instead of at every call site.

Modify pmap_promote_l2() to return true if the promotion succeeded and false otherwise.

Diff Detail

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