HomeFreeBSD

amd64 pmap: Fix compilation when superpage reservations are disabled

Description

amd64 pmap: Fix compilation when superpage reservations are disabled

The function pmap_pde_ept_executable() should not be conditionally
compiled based on VM_NRESERVLEVEL. It is required indirectly by
pmap_enter(..., psind=1) even when reservation-based allocation is
disabled at compile time.

Reviewed by: alc
MFC after: 1 week

Details

Provenance
yufeng.zhou_rice.eduAuthored on Jul 12 2023, 7:52 AM
alcCommitted on Jul 12 2023, 5:07 PM
Parents
rG0d1ff2b04d27: vmm: don't leak locks exiting vmmdev_ioctl()
Branches
Unknown
Tags
Unknown