HomeFreeBSD

Introduce vm_page_alloc_noobj_contig()

Description

Introduce vm_page_alloc_noobj_contig()

This is the same as vm_page_alloc_noobj(), but allocates physically
contiguous runs of memory. For now it is implemented in terms of
vm_page_alloc_contig(), with the difference that
vm_page_alloc_noobj_contig() implements VM_ALLOC_ZERO by zeroing the
page.

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

Details

Provenance
markjAuthored on Oct 20 2021, 12:24 AM
Reviewer
alc
Differential Revision
D32005: Introduce vm_page_alloc_noobj_contig()
Parents
R10:a4667e09e652: Convert vm_page_alloc() callers to use vm_page_alloc_noobj().
Branches
Unknown
Tags
Unknown