diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 0b1b69d1799b..8ced29f4fcb9 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);