Page MenuHomeFreeBSD

pmap_growkernel: Use VM_ALLOC_NOFREE when allocating pagetable pages
ClosedPublic

Authored by bnovkov on Jul 17 2024, 3:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 12, 5:56 PM
Unknown Object (File)
Fri, Apr 4, 4:07 AM
Unknown Object (File)
Mar 15 2025, 4:07 AM
Unknown Object (File)
Feb 27 2025, 3:59 AM
Unknown Object (File)
Feb 26 2025, 11:25 PM
Unknown Object (File)
Feb 26 2025, 6:05 PM
Unknown Object (File)
Feb 12 2025, 9:52 PM
Unknown Object (File)
Feb 12 2025, 7:16 PM

Details

Summary

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.

Test Plan

Tested with the regression suite for all architectures except powerpc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped