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

(cherry picked from commit 8daee410d2c13b4e8530b00e7877eeecf30bb064)

Details

Provenance
andrewAuthored on Nov 29 2023, 12:11 PM
Reviewer
alc
Differential Revision
D42831: vm: Use vmem_xalloc in kva_alloc
Parents
rGd6271b6507b2: kern: Align the declaration of kernconfstring with its definition
Branches
Unknown
Tags
Unknown