HomeFreeBSD

pmap_growkernel: Use VM_ALLOC_NOFREE when allocating pagetable pages

Description

pmap_growkernel: Use VM_ALLOC_NOFREE when allocating pagetable pages

This patch modifies pmap_growkernel in all pmaps to use VM_ALLOC_NOFREE
when allocating new pagetable pages. This should help reduce longterm
fragmentation as these pages are never released after
they are allocated.

Differential Revision: https://reviews.freebsd.org/D45998
Reviewed by: alc, markj, kib, mhorne
Tested by: alc

Details

Provenance
bnovkovAuthored on Jul 16 2024, 3:12 PM
Reviewer
alc
Differential Revision
D45998: pmap_growkernel: Use VM_ALLOC_NOFREE when allocating pagetable pages
Parents
rG3f32a7e4eee5: vm: Add a KVA arena for M_NEVERFREED allocations
Branches
Unknown
Tags
Unknown