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)
Sun, Jan 25, 10:19 AM
Unknown Object (File)
Sun, Jan 25, 6:41 AM
Unknown Object (File)
Wed, Jan 21, 12:11 AM
Unknown Object (File)
Dec 2 2025, 3:21 AM
Unknown Object (File)
Nov 30 2025, 10:29 PM
Unknown Object (File)
Nov 13 2025, 3:40 AM
Unknown Object (File)
Nov 6 2025, 9:40 PM
Unknown Object (File)
Nov 5 2025, 3:13 AM
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 Not Applicable
Unit
Tests Not Applicable