summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_meter.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-06-17 00:14:00 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-06-17 00:14:00 +0000
commitc51365090d32d88879756762d7720c7761a80060 (patch)
tree1afbce1527260334cc5ac18619dc785406c8e968 /sys/uvm/uvm_meter.c
parenta7fde65d2a4b3c80a105c722fceb4aead6a7b6e6 (diff)
date based reversion of uvm to the 4th May.
More backouts in line with previous ones, this appears to bring us back to a stable condition. A machine forced to 64mb of ram cycled 10GB through swap with this diff and is still running as I type this. Other tests by ariane@ and thib@ also seem to show that it's alright. ok deraadt@, thib@, ariane@
Diffstat (limited to 'sys/uvm/uvm_meter.c')
-rw-r--r--sys/uvm/uvm_meter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c
index 60c9dbf9362..689ea32b610 100644
--- a/sys/uvm/uvm_meter.c
+++ b/sys/uvm/uvm_meter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_meter.c,v 1.27 2009/05/08 13:50:15 ariane Exp $ */
+/* $OpenBSD: uvm_meter.c,v 1.28 2009/06/17 00:13:59 oga Exp $ */
/* $NetBSD: uvm_meter.c,v 1.21 2001/07/14 06:36:03 matt Exp $ */
/*
@@ -76,7 +76,7 @@ static fixpt_t cexp[3] = {
* prototypes
*/
-void uvm_loadav(struct loadavg *);
+static void uvm_loadav(struct loadavg *);
/*
* uvm_meter: calculate load average and wake up the swapper (if needed)
@@ -94,7 +94,7 @@ uvm_meter(void)
* uvm_loadav: compute a tenex style load average of a quantity on
* 1, 5, and 15 minute intervals.
*/
-void
+static void
uvm_loadav(struct loadavg *avg)
{
CPU_INFO_ITERATOR cii;