summaryrefslogtreecommitdiff
path: root/Documentation/kmemleak.txt
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-10-24 21:25:00 +0900
committerJonathan Corbet <corbet@lwn.net>2014-10-24 13:59:03 -0400
commit6808a40dd953c3c109878c7426dc8797fcd71797 (patch)
tree65971a943a98e56b6ec2e53198212c1c2fabe2b4 /Documentation/kmemleak.txt
parent47aeeddc737d122332d8d5611a3b1dc6492f484e (diff)
downloadlwn-6808a40dd953c3c109878c7426dc8797fcd71797.tar.gz
lwn-6808a40dd953c3c109878c7426dc8797fcd71797.zip
Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
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>
Diffstat (limited to 'Documentation/kmemleak.txt')
-rw-r--r--Documentation/kmemleak.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index f4f033c8d856..45e777f4e41d 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -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
---------------