summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2015-03-12 12:40:11 +0000
committerjmc <jmc@openbsd.org>2015-03-12 12:40:11 +0000
commitd959a8650adccf508f284bc46ff2cffae42f7abe (patch)
tree10f290112f34a5deca4078bac2d70e96e638724a
parentEscape ! characters for tab-completion, required for "set -o csh-history" users. (diff)
downloadwireguard-openbsd-d959a8650adccf508f284bc46ff2cffae42f7abe.tar.xz
wireguard-openbsd-d959a8650adccf508f284bc46ff2cffae42f7abe.zip
_PERFPOLICY can also be set to "high"; it's "auto" not "automatic"; and the variable
itself has bearing on _SETPERF; many thanks to theo buehler who both supplied a diff and corrected various issues with my diff;
-rw-r--r--lib/libc/gen/sysctl.313
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 74892d31ea4..89f1b060b81 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.248 2015/03/11 19:42:38 jmc Exp $
+.\" $OpenBSD: sysctl.3,v 1.249 2015/03/12 12:40:11 jmc Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 11 2015 $
+.Dd $Mdocdate: March 12 2015 $
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -332,9 +332,10 @@ The software page size.
.It Dv HW_PERFPOLICY
The performance policy for power management.
Can be one of
-.Qq manual
+.Dq manual ,
+.Dq auto ,
or
-.Qq automatic .
+.Dq high .
.It Dv HW_PHYSMEM
The total physical memory, in bytes.
This variable is deprecated; use
@@ -377,6 +378,10 @@ The serial number of the machine.
.It Dv HW_SETPERF
Current CPU performance
.Pq percentage .
+It is only modifiable if
+.Dv HW_PERFPOLICY
+is set to
+.Dq manual .
.It Dv HW_USERMEM
The amount of available non-kernel memory in bytes.
This variable is deprecated; use