diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-22 17:31:40 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-22 17:31:40 +0000 |
commit | 28a499ffb117bb550e28d8675cf22de525636741 (patch) | |
tree | c043b82a91f41aaea2e5b229b3e136883a0599c5 /sys/uvm/uvm_meter.c | |
parent | 5c8688f1814b6de1ae6f6e043798653a7a32a941 (diff) |
Remove the VM_KMPAGESFREE sysctl. After the pmemrange
changes it was returing a constant 0, changing to cope
with those changes makes less sense then just removing
as it provides the user with no usefull information.
sthen@ grepped the port's tree for me and found not hits,
thanks!
OK deraadt@, matthew@
Diffstat (limited to 'sys/uvm/uvm_meter.c')
-rw-r--r-- | sys/uvm/uvm_meter.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_meter.c b/sys/uvm/uvm_meter.c index 689ea32b610..3b7a162b149 100644 --- a/sys/uvm/uvm_meter.c +++ b/sys/uvm/uvm_meter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_meter.c,v 1.28 2009/06/17 00:13:59 oga Exp $ */ +/* $OpenBSD: uvm_meter.c,v 1.29 2010/07/22 17:31:39 thib Exp $ */ /* $NetBSD: uvm_meter.c,v 1.21 2001/07/14 06:36:03 matt Exp $ */ /* @@ -149,7 +149,6 @@ uvm_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, struct vmtotal vmtotals; int rv, t; struct _ps_strings _ps = { PS_STRINGS }; - extern int uvm_km_pages_free; switch (name[0]) { case VM_SWAPENCRYPT: @@ -231,9 +230,6 @@ uvm_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, case VM_USPACE: return (sysctl_rdint(oldp, oldlenp, newp, USPACE)); - case VM_KMPAGESFREE: - return (sysctl_rdint(oldp, oldlenp, newp, uvm_km_pages_free)); - default: return (EOPNOTSUPP); } |