svn commit: r297153 - stable/9/share/man/man9

Bryan Drewery bdrewery at FreeBSD.org
Mon Mar 21 17:53:38 UTC 2016


Author: bdrewery
Date: Mon Mar 21 17:53:37 2016
New Revision: 297153
URL: https://svnweb.freebsd.org/changeset/base/297153

Log:
  MFC r296819:
  
    Reword SX_NOADAPTIVE description to be clear that adaptive is default.

Modified:
  stable/9/share/man/man9/sx.9
Directory Properties:
  stable/9/share/man/man9/   (props changed)

Modified: stable/9/share/man/man9/sx.9
==============================================================================
--- stable/9/share/man/man9/sx.9	Mon Mar 21 17:51:15 2016	(r297152)
+++ stable/9/share/man/man9/sx.9	Mon Mar 21 17:53:37 2016	(r297153)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 28, 2009
+.Dd March 13, 2016
 .Dt SX 9
 .Os
 .Sh NAME
@@ -124,12 +124,10 @@ specifies a set of optional flags to alt
 It contains one or more of the following flags:
 .Bl -tag -width SX_NOADAPTIVE
 .It Dv SX_NOADAPTIVE
-If the kernel is not compiled with
-.Cd "options NO_ADAPTIVE_SX" ,
-then lock operations for
-.Fa sx
-will spin instead of sleeping while an exclusive lock holder is executing on
-another CPU.
+Disable adaptive spinning, rather than sleeping, for lock operations
+while an exclusive lock holder is executing on another CPU.
+Adaptive spinning is the default unless the kernel is compiled with
+.Cd "options NO_ADAPTIVE_SX" .
 .It Dv SX_DUPOK
 Witness should not log messages about duplicate locks being acquired.
 .It Dv SX_NOWITNESS


More information about the svn-src-stable-9 mailing list