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)
Sat, Apr 27, 6:26 AM
Unknown Object (File)
Sat, Apr 27, 6:26 AM
Unknown Object (File)
Sat, Apr 27, 6:25 AM
Unknown Object (File)
Mon, Apr 22, 4:05 PM
Unknown Object (File)
Feb 13 2024, 6:20 AM
Unknown Object (File)
Dec 24 2023, 9:42 PM
Unknown Object (File)
Dec 22 2023, 4:07 PM
Unknown Object (File)
Dec 21 2023, 11:20 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