HomeFreeBSD

vm_page: Break reservations to handle noobj allocations

Description

vm_page: Break reservations to handle noobj allocations

vm_reserv_reclaim_*() will release pages to the default freepool, not
the direct freepool from which noobj allocations are drawn. But if both
pools are empty, the noobj allocator variants must break reservations to
make progress.

Reported by: cy
Reviewed by: kib (previous version)
Fixes: b498f71bc56a ("vm_page: Add a new page allocator interface for unnamed pages")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit d7acbe481d17ccb81c2b879b9731c83b018f3094)

Details

Provenance
markjAuthored on Oct 21 2021, 3:46 PM
Parents
R10:a6922417a05e: Use the vm_radix_init() helper when initializing pmaps
Branches
Unknown
Tags
Unknown