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:
Alan Cox 2004-07-22 23:04:41 +00:00
parent c19786b8ac
commit 0cfc058a42
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132560

View File

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