HomeFreeBSD

amd64 pmap: Tidy up pmap_promote_pde() calls

Description

amd64 pmap: Tidy up pmap_promote_pde() calls

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

Modify pmap_promote_pde() to return true if the promotion succeeded and
false otherwise. Use this return value in a couple places.

Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D40744

Details

Provenance
alcAuthored on Jun 17 2023, 5:18 PM
Reviewer
kib
Differential Revision
D40744: amd64 pmap: Tidy up pmap_promote_pde() calls
Parents
rG564c5314f6d9: UPDATING: Add OpenSSL 3.0 update
Branches
Unknown
Tags
Unknown