HomeFreeBSD

arm64_pmap: narrow scope of bti_same test

Description

arm64_pmap: narrow scope of bti_same test

The pmap_bti_same test in pmap_enter_l3c only happens in the
!ADDR_IS_KERNEL case; in the other case, a KASSERT fails. So move the
test into that case to save a bit of time when ADDR_IS_KERNEL.

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D45160

Details

Provenance
dougmAuthored on May 14 2024, 4:22 AM
Reviewer
andrew
Differential Revision
D45160: arm64_pmap: narrow scope of bti_same test
Parents
rGd9f1f0a90183: boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
Branches
Unknown
Tags
Unknown