HomeFreeBSD

vm_page: Stop handling VM_ALLOC_NOOBJ in vm_page_alloc_domain_after()

Description

vm_page: Stop handling VM_ALLOC_NOOBJ in vm_page_alloc_domain_after()

This makes the allocator simpler since it can assume object != NULL.
Also modify the function to unconditionally preserve PG_ZERO, so
VM_ALLOC_ZERO is effectively ignored (and still must be implemented by
the caller for now).

Reviewed by: alc, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32033

Details

Provenance
markjAuthored on Oct 20 2021, 12:25 AM
Reviewer
alc
Differential Revision
D32033: vm_page: Stop handling VM_ALLOC_NOOBJ in vm_page_alloc_domain_after()
Parents
rG84c3922243a7: Convert consumers to vm_page_alloc_noobj_contig()
Branches
Unknown
Tags
Unknown