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)
Nov 23 2024, 10:31 PM
Unknown Object (File)
Nov 18 2024, 6:24 AM
Unknown Object (File)
Nov 17 2024, 10:25 PM
Unknown Object (File)
Nov 17 2024, 5:31 PM
Unknown Object (File)
Oct 18 2024, 2:06 PM
Unknown Object (File)
Oct 5 2024, 9:46 AM
Unknown Object (File)
Sep 18 2024, 3:42 PM
Unknown Object (File)
Sep 15 2024, 5:06 AM

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