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, Nov 15, 7:11 PM
Unknown Object (File)
Fri, Nov 15, 4:55 PM
Unknown Object (File)
Thu, Nov 14, 12:28 PM
Unknown Object (File)
Tue, Nov 12, 10:53 AM
Unknown Object (File)
Sat, Nov 9, 4:26 AM
Unknown Object (File)
Sat, Nov 9, 3:45 AM
Unknown Object (File)
Fri, Nov 8, 10:18 AM
Unknown Object (File)
Thu, Nov 7, 7:09 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 Not Applicable
Unit
Tests Not Applicable