MFi386 revision 1.421
- Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in pmap_mapdev(). See revision 1.140 of kern/sys_pipe.c for a detailed rationale.
This commit is contained in:
parent
c19786b8ac
commit
0cfc058a42
@ -4372,7 +4372,7 @@ pmap_mapdev(vm_offset_t pa, vm_size_t size)
|
||||
|
||||
GIANT_REQUIRED;
|
||||
|
||||
va = kmem_alloc_pageable(kernel_map, size);
|
||||
va = kmem_alloc_nofault(kernel_map, size);
|
||||
if (!va)
|
||||
panic("pmap_mapdev: Couldn't alloc kernel virtual memory");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user