HomeFreeBSD

amd64 pmap: preallocate another page table page in pmap_demote_DMAP()

Description

amd64 pmap: preallocate another page table page in pmap_demote_DMAP()

To avoid a possible panic in pmap_demote_DMAP(), preallocate the page
table page that may be needed by pmap_demote_pde() before acquiring the
kernel pmap lock, so that we can wait until the allocation succeeds.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D51091

Details

Provenance
alcAuthored on Jun 30 2025, 7:36 AM
Reviewer
kib
Differential Revision
D51091: amd64 pmap: demotion changes for kib@
Parents
rG3ba480f41801: sound: Retire SND_DEV_*
Branches
Unknown
Tags
Unknown