Page MenuHomeFreeBSD

vm: Use vmem_xalloc in kva_alloc
ClosedPublic

Authored by andrew on Nov 29 2023, 12:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 27, 10:40 PM
Unknown Object (File)
Fri, Feb 27, 2:47 PM
Unknown Object (File)
Jan 27 2026, 12:23 AM
Unknown Object (File)
Jan 25 2026, 10:19 AM
Unknown Object (File)
Jan 25 2026, 6:41 AM
Unknown Object (File)
Jan 21 2026, 12:11 AM
Unknown Object (File)
Dec 2 2025, 3:21 AM
Unknown Object (File)
Nov 30 2025, 10:29 PM
Subscribers

Details

Summary

The kernel_arena used in kva_alloc has the qcache disabled. vmem_alloc
will first try to use the qcache before falling back to vmem_xalloc.

Rather than trying to use the qcache in vmem_alloc just call
vmem_xalloc directly.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54688
Build 51577: arc lint + arc unit