Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
cover Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
Following 2 patches add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
Masanari Iida (2):
Documentation: Add default kmemleak off case in kernel-parameters.txt
Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
Documentation/kernel-parameters.txt | 2 ++ Documentation/kmemleak.txt | 4 ++++ 2 files changed, 6 insertions(+)
Signature · 1 line
2.1.2.451.g98349e5
PATCH 1/2 Documentation: Add default kmemleak off case in kernel-parameters.txt
Add missing explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
--- Documentation/kernel-parameters.txt | 2 ++ 1 file changed, 2 insertions(+)
Documentation/kernel-parameters.txt +2 -0
@@ -1587,6 +1587,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted. kmemleak= [KNL] Boot-time kmemleak enable/disable Valid arguments: on, off Default: on + Built with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y, + the default is off. kmemcheck= [X86] Boot-time kmemcheck enable/disable/one-shot mode Valid arguments: 0, 1, 2
Signature · 1 line
2.1.2.451.g98349e5
PATCH 2/2 Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
In reply to Masanari IidaThis patch add a case with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.
--- Documentation/kmemleak.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/kmemleak.txt +4 -0
@@ -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 ---------------
Signature · 1 line
2.1.2.451.g98349e5
Randy Dunlap
reviewerRe: [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
Quoted 12 lines · Masanari Iida
This patch add a case with
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.Signed-off-by Masanari Iida <[email protected]>--- Documentation/kmemleak.txt | 4 ++++ 1 file changed, 4 insertions(+)Documentation/kmemleak.txt +0
-0
Documentation/kmemleak.txt Memory may be allocated or freed before kmemleak is initialised and · line 65
Quoted 4 lines
Documentation/kmemleak.txt +1
-0@@ -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
is enabled, kmemleak is
Quoted 7 lines
Documentation/kmemleak.txt +3
-0+disabled by default. Passing "kmemleak=on" on the kernel command +line enables the function. + Basic Algorithm ---------------
Signature · 1 line
~Randy
Quoted 6 lines · Masanari Iida
Following 2 patches add an explanation about
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=ycase.Masanari Iida (2):
Documentation: Add default kmemleak off case in kernel-parameters.txt
Documentation: AddCONFIG_DEBUG_KMEMLEAK_DEFAULT_OFFcase
Both patches look fine to me.
Jonathan Corbet
maintainerQuoted 3 lines · On Fri, 24 Oct 2014 16:52:20 +0100 Catalin Marinas <[email protected]>…
Both patches look fine to me.
Acked-by Catalin Marinas <[email protected]>
Both applied, thanks.
jon