HomeFreeBSD

vm: Use vmem_xalloc in kva_alloc

Description

vm: Use vmem_xalloc in kva_alloc

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.

Reviewed by: alc, kib, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42831

Details

Provenance
andrewAuthored on Nov 29 2023, 12:11 PM
Reviewer
alc
Differential Revision
D42831: vm: Use vmem_xalloc in kva_alloc
Parents
rG51e7276365ba: Unbreak build from ed31b3f4a146 (misapplied diff).
Branches
Unknown
Tags
Unknown