svn commit: r296819 - head/share/man/man9

Bryan Drewery bdrewery at FreeBSD.org
Mon Mar 14 00:51:46 UTC 2016


Author: bdrewery
Date: Mon Mar 14 00:51:45 2016
New Revision: 296819
URL: https://svnweb.freebsd.org/changeset/base/296819

Log:
  Reword SX_NOADAPTIVE description to be clear that adaptive is default.
  
  The default changed in r193011.
  
  MFC after:	 1 week

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

Modified: head/share/man/man9/sx.9
==============================================================================
--- head/share/man/man9/sx.9	Mon Mar 14 00:42:19 2016	(r296818)
+++ head/share/man/man9/sx.9	Mon Mar 14 00:51:45 2016	(r296819)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 13, 2014
+.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-all mailing list