diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 370b75708cfe..aa791036b5c8 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -177,7 +177,7 @@ proc_rwmem(struct proc *p, struct uio *uio) reqprot = writing ? (VM_PROT_WRITE | VM_PROT_OVERRIDE_WRITE) : VM_PROT_READ; - kva = kmem_alloc_pageable(kernel_map, PAGE_SIZE); + kva = kmem_alloc_nofault(kernel_map, PAGE_SIZE); /* * Only map in one page at a time. We don't have to, but it