summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2017-11-14 18:07:51 +0000
committertrasz <trasz@FreeBSD.org>2017-11-14 18:07:51 +0000
commit2768ac83695c660232308a71964e06d96ef1b02a (patch)
treed2fbab1ffc32e4107aeb84e66d1b649416c28c68 /lib
parentbd0219a66799731900b483af241176d80a65f88e (diff)
downloadFreeBSD-src-2768ac83695c660232308a71964e06d96ef1b02a.zip
FreeBSD-src-2768ac83695c660232308a71964e06d96ef1b02a.tar.gz
MFC r324857:
Add OID for the vm.overcommit sysctl. This makes it possible to remove one call to sysctl(2) from jemalloc startup code. (That also requires changes to jemalloc, but I plan to push those to upstream first.)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/sysctl.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 633f364..a5c1780 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -28,7 +28,7 @@
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\" $FreeBSD$
.\"
-.Dd September 10, 2015
+.Dd October 22, 2017
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -741,6 +741,7 @@ privilege may change the value.
.It Dv VM_V_FREE_TARGET Ta integer Ta yes
.It Dv VM_V_INACTIVE_TARGET Ta integer Ta yes
.It Dv VM_V_PAGEOUT_FREE_MIN Ta integer Ta yes
+.It Dv VM_OVERCOMMIT Ta integer Ta yes
.El
.Bl -tag -width 6n
.It Li VM_LOADAVG
@@ -773,6 +774,9 @@ process address space when needed.
.It Li VM_V_PAGEOUT_FREE_MIN
If the amount of free and cache memory falls below this value, the
pageout daemon will enter "memory conserving mode" to avoid deadlock.
+.It Li VM_OVERCOMMIT
+Overcommit behaviour, as described in
+.Xr tuning 7 .
.El
.Sh RETURN VALUES
.Rv -std
OpenPOWER on IntegriCloud