summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sx.9
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-03-14 00:51:45 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-03-14 00:51:45 +0000
commita08fbac3add3c4a7054f28fedccdd8bd59381a0a (patch)
tree54af49aa5cff8300e1453cc37b5df537a2abe1b8 /share/man/man9/sx.9
parent3d8720ff799fbd99cbd49536db33d966c305435f (diff)
downloadFreeBSD-src-a08fbac3add3c4a7054f28fedccdd8bd59381a0a.zip
FreeBSD-src-a08fbac3add3c4a7054f28fedccdd8bd59381a0a.tar.gz
Reword SX_NOADAPTIVE description to be clear that adaptive is default.
The default changed in r193011. MFC after: 1 week
Diffstat (limited to 'share/man/man9/sx.9')
-rw-r--r--share/man/man9/sx.912
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9
index 49a064e..a9931a9 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -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 alter the behavior of
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
OpenPOWER on IntegriCloud