summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2018-11-06 07:55:09 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2018-11-06 07:55:09 +0000
commit8c891a75fd3e6a1df6298c82b8f26e3c3d925c25 (patch)
tree21fe76075da792df1ed78bd9c5b638264e46b7db /lib/libc
parentb720da78f4ed4158e7ce561391c88207e62b86b0 (diff)
vm.malloc_conf, userland sysctl parts; ok millert@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sysctl.29
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 76481b04be2..0044223e8ab 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.12 2018/11/04 19:31:14 denis Exp $
+.\" $OpenBSD: sysctl.2,v 1.13 2018/11/06 07:55:08 otto 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: November 4 2018 $
+.Dd $Mdocdate: November 6 2018 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -2135,6 +2135,7 @@ privileges may change the value.
.It Sy "Second level name" Ta Sy "Type" Ta Sy "Changeable"
.It Dv VM_ANONMIN Ta "integer" Ta "yes"
.It Dv VM_LOADAVG Ta "struct loadavg" Ta "no"
+.It Dv VM_MALLOC_CONF Ta "string" Ta "yes"
.It Dv VM_MAXSLP Ta "integer" Ta "no"
.It Dv VM_METER Ta "struct vmtotal" Ta "no"
.It Dv VM_NKMEMPAGES Ta "integer" Ta "no"
@@ -2153,6 +2154,10 @@ pages which contain anonymous mapping.
Return the load average history.
The returned data consists of a
.Li struct loadavg .
+.It Dv VM_MALLOC_CONF Pq Va vm.malloc_conf
+The
+.Xr malloc.conf 5
+option string.
.It Dv VM_MAXSLP Pq Va vm.maxslp
The time for a process to be blocked before being swappable,
in seconds.