Module Name: src
Committed By: snj
Date: Mon Jul 24 06:11:40 UTC 2017
Modified Files:
src/share/man/man7 [netbsd-8]: sysctl.7
Log Message:
Pull up following revision(s) (requested by joerg in ticket #125):
share/man/man7/sysctl.7: revision 1.115
Document vm.guard_size and vm.thread_guard_size
To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.113.4.1 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.113 src/share/man/man7/sysctl.7:1.113.4.1
--- src/share/man/man7/sysctl.7:1.113 Sat Mar 25 05:58:50 2017
+++ src/share/man/man7/sysctl.7 Mon Jul 24 06:11:39 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.113 2017/03/25 05:58:50 pgoyette Exp $
+.\" $NetBSD: sysctl.7,v 1.113.4.1 2017/07/24 06:11:39 snj Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
-.Dd March 25, 2017
+.Dd July 2, 2017
.Dt SYSCTL 7
.Os
.Sh NAME
@@ -2381,6 +2381,8 @@ privilege may change the value.
.It vm.uvmexp2 struct uvmexp_sysctl no
.It vm.vmmeter struct vmtotal no
.It vm.proc.map struct kinfo_vmentry no
+.It vm.guard_size unsigned int no
+.It vm.thread_guard_size unsigned int yes
.El
.Bl -tag -width "123456"
.It Li vm.anonmax ( Dv VM_ANONMAX )
@@ -2443,6 +2445,11 @@ The returned data consists of a
Return system wide virtual memory statistics.
The returned data consists of a
.Vt struct uvmexp_sysctl .
+.It Li vm.guard_size
+Return system wide guard size for the main thread of a program.
+.It Li vm.thread_guard_size
+Return system wide default size for the guard area of all other threads
+of a program.
.\" XXX vm.idlezero
.El
.Ss The ddb.* subtree ( Dv CTL_DDB )