Reword SX_NOADAPTIVE description to be clear that adaptive is default.

The default changed in r193011.

MFC after:	 1 week
This commit is contained in:
bdrewery 2016-03-14 00:51:45 +00:00
parent 3d8720ff79
commit a08fbac3ad

View File

@ -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