HomeFreeBSD

vm_page: Remove extra test, dup code from page alloc

Description

vm_page: Remove extra test, dup code from page alloc

Extract code common to functions vm_page_alloc_contig_domain and
vm_page_alloc_noobj_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

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
rG744c2dc7dde4: rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values
Branches
Unknown
Tags
Unknown