summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_param.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-15 03:42:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-12-15 03:42:58 +0000
commitd196417615cee2b0bef878d8bece937836f17b1f (patch)
tree2130f8edd515794a485bb5c3c9f5b54a3ca7f11a /sys/uvm/uvm_param.h
parent30fb6d4ee3269e33a51b16f67d27c473cd3a5e3a (diff)
export kernel uvm_km_pages_free as vm.kmpagesfree; ok tedu, tested jsg
Diffstat (limited to 'sys/uvm/uvm_param.h')
-rw-r--r--sys/uvm/uvm_param.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/uvm/uvm_param.h b/sys/uvm/uvm_param.h
index 788539aea56..91e41bf2013 100644
--- a/sys/uvm/uvm_param.h
+++ b/sys/uvm/uvm_param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_param.h,v 1.12 2007/03/26 08:43:34 art Exp $ */
+/* $OpenBSD: uvm_param.h,v 1.13 2007/12/15 03:42:57 deraadt Exp $ */
/* $NetBSD: uvm_param.h,v 1.5 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -112,7 +112,8 @@ typedef int boolean_t;
#define VM_VNODEMIN 9
#define VM_MAXSLP 10
#define VM_USPACE 11
-#define VM_MAXID 12 /* number of valid vm ids */
+#define VM_KMPAGESFREE 12
+#define VM_MAXID 13 /* number of valid vm ids */
#define CTL_VM_NAMES { \
{ 0, 0 }, \
@@ -127,6 +128,7 @@ typedef int boolean_t;
{ "vnodemin", CTLTYPE_INT }, \
{ "maxslp", CTLTYPE_INT }, \
{ "uspace", CTLTYPE_INT }, \
+ { "kmpagesfree", CTLTYPE_INT }, \
}
struct _ps_strings {