mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Use kmem_alloc_nofault() rather than kmem_alloc_pageable() for allocating
KVA for explicitly managed mappings, i.e., mappings created with pmap_qenter().
This commit is contained in:
parent
eca77c0fbe
commit
b332cea583
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132585
@ -110,7 +110,7 @@ jumbo_vm_init(void)
|
||||
SLIST_INIT(&jumbo_kmap_inuse);
|
||||
|
||||
/* grab some kernel virtual address space */
|
||||
jumbo_basekva = kmem_alloc_pageable(kernel_map,
|
||||
jumbo_basekva = kmem_alloc_nofault(kernel_map,
|
||||
PAGE_SIZE * JUMBO_MAX_PAGES);
|
||||
if (jumbo_basekva == 0) {
|
||||
vm_object_deallocate(jumbo_vm_object);
|
||||
|
Loading…
Reference in New Issue
Block a user