Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 03:13:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330368 - head/share/man/man9
Message-ID:  <201803040313.w243DDSc038143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Mar  4 03:13:13 2018
New Revision: 330368
URL: https://svnweb.freebsd.org/changeset/base/330368

Log:
  Add documentation for CTLFLAG_MPSAFE.

Modified:
  head/share/man/man9/sysctl.9

Modified: head/share/man/man9/sysctl.9
==============================================================================
--- head/share/man/man9/sysctl.9	Sun Mar  4 02:41:25 2018	(r330367)
+++ head/share/man/man9/sysctl.9	Sun Mar  4 03:13:13 2018	(r330368)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 10, 2017
+.Dd March 3, 2018
 .Dt SYSCTL 9
 .Os
 .Sh NAME
@@ -662,6 +662,11 @@ this flag will prevent fetching the initial value from
 environment.
 Typically this flag should only be used for very early
 low level system setup code, and not by common drivers and modules.
+.It Dv CTLFLAG_MPSAFE
+This
+.Xr sysctl 9
+handler is MP safe.
+Do not grab Giant around calls to this handler.
 .El
 .Pp
 Additionally, any of the following optional flags may also be specified:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803040313.w243DDSc038143>