summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_pmemrange.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2010-06-10 08:42:23 +0000
committerthib <thib@openbsd.org>2010-06-10 08:42:23 +0000
commit8f004b5a0e5e196fd4240d624cd111335befaf6a (patch)
treef0c64e1b666ad5a83d45f412055012d4ae11351d /sys/uvm/uvm_pmemrange.c
parenti don't like splitting source code in too many source files but ikev2.c (diff)
downloadwireguard-openbsd-8f004b5a0e5e196fd4240d624cd111335befaf6a.tar.xz
wireguard-openbsd-8f004b5a0e5e196fd4240d624cd111335befaf6a.zip
the pagedaemon sleeps on uvm.pagedaemon not
uvm.pagedaemon_proc, do the wakeup on the right ident. this had been fixed, but the fix got backed out during The Big Backout. ok oga@
Diffstat (limited to 'sys/uvm/uvm_pmemrange.c')
-rw-r--r--sys/uvm/uvm_pmemrange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c
index d62edb33eb3..0c10aee5f5c 100644
--- a/sys/uvm/uvm_pmemrange.c
+++ b/sys/uvm/uvm_pmemrange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pmemrange.c,v 1.11 2010/04/23 20:42:22 ariane Exp $ */
+/* $OpenBSD: uvm_pmemrange.c,v 1.12 2010/06/10 08:42:23 thib Exp $ */
/*
* Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl>
@@ -1034,7 +1034,7 @@ Fail:
uvm_wait("uvm_pmr_getpages");
goto ReTry;
} else
- wakeup(&uvm.pagedaemon_proc);
+ wakeup(&uvm.pagedaemon);
return ENOMEM;