Skip to contentSkip to conversation

Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.

PATCH In review Masanari Iida 4 participants 6 messages Oct 24, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index 74339c5..f2ebc74 100644
@@ -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
#2 lore raw

PATCH 2/2 Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case

In reply to Masanari Iida

This 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
index f4f033c..0f2bbd8 100644
@@ -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
reviewer
#3 lore raw

Re: [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.

---
 Documentation/kmemleak.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/kmemleak.txt +0 -0
index f4f033c..0f2bbd8 100644

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
Acked-by on the v1 series
#4 lore raw
In reply to Masanari Iida
Quoted 6 lines · Masanari Iida

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

Both patches look fine to me.