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, Aug 9, 6:40 PM
Unknown Object (File)
Sun, Aug 2, 9:07 AM
Unknown Object (File)
Fri, Jul 31, 2:26 AM
Unknown Object (File)
Sat, Jul 25, 8:55 PM
Unknown Object (File)
Jul 21 2026, 1:05 AM
Unknown Object (File)
Jul 18 2026, 2:30 AM
Unknown Object (File)
Jul 4 2026, 4:28 AM
Unknown Object (File)
Jun 8 2026, 6:43 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