mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
26bdc1d12e
commit
bfdf81ac47
1 changed files with 1 additions and 1 deletions
|
|
@ -985,7 +985,7 @@ pmap_pinit(pmap_t pm)
|
|||
* Allocate kva space for the tsb.
|
||||
*/
|
||||
if (pm->pm_tsb == NULL) {
|
||||
pm->pm_tsb = (struct tte *)kmem_alloc_pageable(kernel_map,
|
||||
pm->pm_tsb = (struct tte *)kmem_alloc_nofault(kernel_map,
|
||||
TSB_BSIZE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue