HomeFreeBSD

arm64: correctly handle a failed BTI check in pmap_enter_l2()

Description

arm64: correctly handle a failed BTI check in pmap_enter_l2()

If pmap_enter_l2() does not create a mapping because the BTI check
fails, then we should release the reference on the page table page
acquired from pmap_alloc_l2(). Otherwise, the page table page will
never be reclaimed.

Details

Provenance
alcAuthored on Wed, Apr 3, 5:21 AM
Parents
rG872c4402af13: ddb: Don't throw away qualifier when pretty-printing unnamed pointers
Branches
Unknown
Tags
Unknown