Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
authorMasanari Iida <standby24x7@gmail.com>
Fri, 24 Oct 2014 12:25:00 +0000 (21:25 +0900)
committerJonathan Corbet <corbet@lwn.net>
Fri, 24 Oct 2014 17:59:03 +0000 (13:59 -0400)
This patch add a case with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/kmemleak.txt

index f4f033c..45e777f 100644 (file)
@@ -62,6 +62,10 @@ Memory may be allocated or freed before kmemleak is initialised and
 these actions are stored in an early log buffer. The size of this buffer
 is configured via the CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE option.
 
+If CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF are enabled, the kmemleak is
+disabled by default. Passing "kmemleak=on" on the kernel command
+line enables the function. 
+
 Basic Algorithm
 ---------------