From ceb7b147e676803c22cf6d815f543f21fd9aa926 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Mon, 21 Mar 2016 17:51:15 +0000 Subject: MFC r296819: Reword SX_NOADAPTIVE description to be clear that adaptive is default. --- share/man/man9/sx.9 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'share') 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 -- cgit v1.1