git: e022d8e4edbf - stable/14 - kmsan.9: Mention the loader tunable 'debug.kmsan.disable'

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Sat, 21 Oct 2023 14:42:56 UTC
The branch stable/14 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=e022d8e4edbf17f1c12bfd55af98541962354f34

commit e022d8e4edbf17f1c12bfd55af98541962354f34
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-10-13 14:42:34 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-10-21 14:41:09 +0000

    kmsan.9: Mention the loader tunable 'debug.kmsan.disable'
    
    Reviewed by:    gbe (manpages), markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D42166
    
    (cherry picked from commit 7ca90db2f3ee15d9d0343d76f06a90efb8426d92)
---
 share/man/man9/kmsan.9 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/share/man/man9/kmsan.9 b/share/man/man9/kmsan.9
index ae9dbdc7a052..714442e4d9fe 100644
--- a/share/man/man9/kmsan.9
+++ b/share/man/man9/kmsan.9
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 10, 2021
+.Dd October 13, 2023
 .Dt KMSAN 9
 .Os
 .Sh NAME
@@ -108,6 +108,10 @@ should be used only for kernel testing and development.
 It is not recommended to enable
 .Nm
 in systems with less than 8GB of physical RAM.
+.Pp
+The sanitizer in a KMSAN-configured kernel can be disabled by setting the loader
+tunable
+.Sy debug.kmsan.disable=1 .
 .Sh FUNCTIONS
 The
 .Fn kmsan_mark