diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-05-04 18:08:07 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-05-04 18:08:07 +0000 |
commit | 15e67635223bfa6dc8052660a8dddf88bcbc0bf1 (patch) | |
tree | f8135cab7f6880c63c1f6000c8755bfee6b5b0fb /sys/uvm/uvm_page.c | |
parent | 3df519a362ecb2e7ff6fae720f2f0c76dbfaa46c (diff) |
Instead of keeping two ints in the uvm structure specifically just to
sleep on them (and otherwise ignore them) sleep on the pointer to the
{aiodoned,pagedaemon}_proc members, and nuke the two extra words.
"no objections" art@, ok beck@.
Diffstat (limited to 'sys/uvm/uvm_page.c')
-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 470209cf8e8..961dc193cb1 100644 --- a/sys/uvm/uvm_page.c +++ b/sys/uvm/uvm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.c,v 1.77 2009/05/01 20:44:22 oga Exp $ */ +/* $OpenBSD: uvm_page.c,v 1.78 2009/05/04 18:08:06 oga Exp $ */ /* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */ /* @@ -911,7 +911,7 @@ uvm_pagealloc_strat(struct uvm_object *obj, voff_t off, struct vm_anon *anon, if ((uvmexp.free - BUFPAGES_DEFICIT) < uvmexp.freemin || ((uvmexp.free - BUFPAGES_DEFICIT) < uvmexp.freetarg && uvmexp.inactive < uvmexp.inactarg)) - wakeup(&uvm.pagedaemon); + wakeup(&uvm.pagedaemon_proc); /* * fail if any of these conditions is true: |