projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47aeedd
)
Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
author
Masanari Iida
<
[email protected]
>
Fri, 24 Oct 2014 12:25:00 +0000
(21:25 +0900)
committer
Jonathan Corbet
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Catalin Marinas <
[email protected]
>
Signed-off-by: Jonathan Corbet <
[email protected]
>
Documentation/kmemleak.txt
patch
|
blob
|
history
diff --git
a/Documentation/kmemleak.txt
b/Documentation/kmemleak.txt
index f4f033c8d856e44ac85ba655da2348230acd8c4e..45e777f4e41de846eb485b579d0e934e0a512d97 100644
(file)
--- 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
---------------