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
F158733715: D45998.id.diff
Fri, Jun 5, 5:46 AM
Unknown Object (File)
Tue, May 26, 9:16 PM
Unknown Object (File)
Mon, May 25, 11:44 AM
Unknown Object (File)
Wed, May 20, 8:49 PM
Unknown Object (File)
Sun, May 17, 8:48 AM
Unknown Object (File)
Sun, May 17, 8:47 AM
Unknown Object (File)
Wed, May 13, 9:29 PM
Unknown Object (File)
May 6 2026, 11:11 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