diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-17 07:14:05 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-17 07:14:05 +0000 |
commit | 726aee81bb5d0e906663cb7f760d1c0d2fce963e (patch) | |
tree | 7fd1d600f3646f0770a9b230c804007687dfbe59 /sys/uvm/uvm_pdaemon.c | |
parent | 87d1c5cf2c9277ccbf03e846d009b949722c16ce (diff) |
Another case of locking just to read uvmexp.free. Kill the locking, not
needed.
"of course" art@.
Diffstat (limited to 'sys/uvm/uvm_pdaemon.c')
-rw-r--r-- | sys/uvm/uvm_pdaemon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c index 73643946a79..499c28454ee 100644 --- a/sys/uvm/uvm_pdaemon.c +++ b/sys/uvm/uvm_pdaemon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pdaemon.c,v 1.41 2009/04/15 12:43:07 oga Exp $ */ +/* $OpenBSD: uvm_pdaemon.c,v 1.42 2009/04/17 07:14:04 oga Exp $ */ /* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */ /* @@ -925,9 +925,7 @@ uvmpd_scan(void) /* * get current "free" page count */ - uvm_lock_fpageq(); free = uvmexp.free - BUFPAGES_DEFICIT; - uvm_unlock_fpageq(); #ifndef __SWAP_BROKEN /* |