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)
Fri, Nov 21, 7:52 PM
Unknown Object (File)
Nov 11 2025, 6:43 AM
Unknown Object (File)
Oct 30 2025, 1:33 AM
Unknown Object (File)
Oct 29 2025, 11:24 PM
Unknown Object (File)
Oct 29 2025, 11:19 PM
Unknown Object (File)
Oct 23 2025, 6:08 PM
Unknown Object (File)
Oct 21 2025, 7:05 AM
Unknown Object (File)
Oct 14 2025, 6:48 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