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)
Wed, May 8, 11:30 AM
Unknown Object (File)
Wed, May 8, 11:30 AM
Unknown Object (File)
Wed, May 8, 9:25 AM
Unknown Object (File)
Sat, May 4, 4:24 PM
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
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