From 0657a713ff47bc478038d00262a8b2bab80057b1 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 4 Apr 2001 11:51:59 +0000 Subject: [PATCH] mdoc(7) police: fix markup and spelling. --- share/man/man4/witness.4 | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/share/man/man4/witness.4 b/share/man/man4/witness.4 index 73a3a20679b..f7169aac68c 100644 --- a/share/man/man4/witness.4 +++ b/share/man/man4/witness.4 @@ -61,14 +61,16 @@ If any of these checks fail, then the kernel will panic. .Pp The flag that controls whether or not the kernel debugger is entered when a lock order violation is detected can be set in a variety of ways. -By default, the flag is off, but if the "WITNESS_DDB" kernel option is +By default, the flag is off, but if the +.Qq Dv WITNESS_DDB +kernel option is specified, then the flag will default to on. It can also be set from the .Xr loader 8 via the -.Sy debug.witness_ddb +.Va debug.witness_ddb environment variable or after the kernel has booted via the -.Sy debug.witness_ddb +.Va debug.witness_ddb sysctl. If the flag is set to zero, then the debugger will not be entered. If the flag is non-zero, then the debugger will be entered. @@ -77,15 +79,17 @@ The .Nm code can also be configured to skip all checks on spin mutexes. By default, this flag defaults to off, but it can be turned on by -specifying the "WITNESS_SKIPSPIN" kernel option. +specifying the +.Qq Dv WITNESS_SKIPSPIN +kernel option. The flag can also be set via the .Xr loader 8 environment variable -.Sy debug.witness.skipspin . +.Va debug.witness.skipspin . If the variable is set to a non-zero value, then spin mutexes are skipped. Once the kernel has booted, the status of this flag can be examined but not set via the read-only sysctl -.Sy debug.witness_skipspin . +.Va debug.witness_skipspin . .Pp The .Nm @@ -115,11 +119,11 @@ The .Nm code first appeared in .Tn BSD/OS -5.0 and were imported from there into +5.0 and was imported from there into .Fx 5.0 . .Sh BUGS The .Nm -code currently doesn't handle recursion of shared +code currently does not handle recursion of shared .Xr sx 9 locks properly. -- 2.45.2