diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c index 9793930afcc..41ec77d60a6 100644 --- a/sys/uvm/uvm_page.c +++ b/sys/uvm/uvm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.c,v 1.118 2013/03/06 22:26:15 beck Exp $ */ +/* $OpenBSD: uvm_page.c,v 1.119 2013/03/12 20:47:16 beck Exp $ */ /* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */ /* @@ -828,7 +828,7 @@ uvm_pglistalloc(psize_t size, paddr_t low, paddr_t high, paddr_t alignment, if ((uvmexp.free <= uvmexp.reserve_pagedaemon + size && !((curproc == uvm.pagedaemon_proc) || (curproc == syncerproc)))) { - if (UVM_PLA_WAITOK) { + if (flags & UVM_PLA_WAITOK) { uvm_wait("uvm_pglistalloc"); goto again; } |