summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-03-12 12:40:12 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-03-12 12:40:12 +0000
commit1c58d6b2a3a279a1134d62e5c16aa532d9fcea39 (patch)
tree1d00b416e552ad0c30f1f427ef0b69b2f148c84e
parent31f869493a645470695e924869658a6c9a496670 (diff)
_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