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.

(cherry picked from commit 88c8cba0439599c00d9d3d586a66a035004e6e84)

Details

Provenance
alcAuthored on Jun 30 2025, 7:36 AM
Parents
rG25a559444bd4: sys/geom: use proper style for sizeof operator
Branches
Unknown
Tags
Unknown