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
61bafd2e3d
commit
184e715c40
@ -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…
x
Reference in New Issue
Block a user