summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r--sys/kern/sys_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 0b1b69d..8ced29f 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -732,7 +732,7 @@ pipe_build_write_buffer(wpipe, uio)
* We need to allocate space for an extra page because the
* address range might (will) span pages at times.
*/
- wpipe->pipe_map.kva = kmem_alloc_pageable(kernel_map,
+ wpipe->pipe_map.kva = kmem_alloc_nofault(kernel_map,
wpipe->pipe_buffer.size + PAGE_SIZE);
atomic_add_int(&amountpipekva,
wpipe->pipe_buffer.size + PAGE_SIZE);
OpenPOWER on IntegriCloud