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:
alc 2004-07-23 06:49:49 +00:00
parent 61bafd2e3d
commit 184e715c40

View File

@ -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);
}