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)
Mon, Oct 13, 10:36 PM
Unknown Object (File)
Mon, Oct 13, 4:56 PM
Unknown Object (File)
Mon, Oct 13, 4:56 PM
Unknown Object (File)
Mon, Oct 13, 4:56 PM
Unknown Object (File)
Mon, Oct 13, 4:09 AM
Unknown Object (File)
Mon, Oct 13, 3:44 AM
Unknown Object (File)
Thu, Oct 9, 6:59 AM
Unknown Object (File)
Thu, Oct 9, 5:55 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