From: Masanari Iida Date: Fri, 24 Oct 2014 12:25:00 +0000 (+0900) Subject: Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case X-Git-Tag: firefly_0821_release~176^2~2948^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6808a40dd953c3c109878c7426dc8797fcd71797;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Catalin Marinas Signed-off-by: Jonathan Corbet --- 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 ---------------