From 28a499ffb117bb550e28d8675cf22de525636741 Mon Sep 17 00:00:00 2001 From: "Thordur I. Bjornsson" Date: Thu, 22 Jul 2010 17:31:40 +0000 Subject: 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@ --- sys/uvm/uvm_meter.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/uvm/uvm_meter.c') 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); } -- cgit v1.2.3