HomeFreeBSD

vm_page: Remove extra test from page alloc

Description

vm_page: Remove extra test from page alloc

Extract code from vm_page_alloc_contig_domain into a new function. Do
so in a way that eliminates a bound-to-fail reservation test after a
reservation is broken by a call from vm_page_alloc_contig_domain.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D33551

(cherry picked from commit fb38b29b5609b0c0769b2b2e1d6c917c0799f2a0)

Details

Provenance
dougmAuthored on Dec 24 2021, 4:45 AM
Reviewer
kib
Differential Revision
D33551: factor common code out of vm_page_alloc*contig_domain
Parents
rG86299ec1c418: vm_phys: hide vm_phys_set_pool
Branches
Unknown
Tags
Unknown