summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-03-21 17:51:15 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-03-21 17:51:15 +0000
commitceb7b147e676803c22cf6d815f543f21fd9aa926 (patch)
tree5c21e19adee90ad9d301ad2a3b718222e97b95e3 /share
parentaf59995fd1fab9bd8a8272f9aaeb17f07dbc5e2f (diff)
downloadFreeBSD-src-ceb7b147e676803c22cf6d815f543f21fd9aa926.zip
FreeBSD-src-ceb7b147e676803c22cf6d815f543f21fd9aa926.tar.gz
MFC r296819:
Reword SX_NOADAPTIVE description to be clear that adaptive is default.
Diffstat (limited to 'share')
-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 b998749..ce73f71 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 16, 2011
+.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