HomeFreeBSD

Convert vm_page_alloc() callers to use vm_page_alloc_noobj().

Description

Convert vm_page_alloc() callers to use vm_page_alloc_noobj().

Remove page zeroing code from consumers and stop specifying
VM_ALLOC_NOOBJ. In a few places, also convert an allocation loop to
simply use VM_ALLOC_WAITOK.

Similarly, convert vm_page_alloc_domain() callers.

Note that callers are now responsible for assigning the pindex.

Reviewed by: alc, hselasky, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31986

Details

Provenance
markjAuthored on Oct 20 2021, 12:23 AM
Reviewer
alc
Differential Revision
D31986: Convert vm_page_alloc() callers to use vm_page_alloc_noobj().
Parents
rGb498f71bc56a: vm_page: Add a new page allocator interface for unnamed pages
Branches
Unknown
Tags
Unknown