* [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
@ 2014-10-24 12:24 Masanari Iida
2014-10-24 12:24 ` [PATCH 1/2] Documentation: Add default kmemleak off case in kernel-parameters.txt Masanari Iida
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Masanari Iida @ 2014-10-24 12:24 UTC (permalink / raw)
To: catalin.marinas, corbet, linux-kernel; +Cc: 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
Documentation/kernel-parameters.txt | 2 ++
Documentation/kmemleak.txt | 4 ++++
2 files changed, 6 insertions(+)
--
2.1.2.451.g98349e5
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH 1/2] Documentation: Add default kmemleak off case in kernel-parameters.txt
2014-10-24 12:24 [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Masanari Iida
@ 2014-10-24 12:24 ` Masanari Iida
2014-10-24 12:25 ` [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case Masanari Iida
2014-10-24 15:52 ` [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Catalin Marinas
2 siblings, 0 replies; 6+ messages in thread
From: Masanari Iida @ 2014-10-24 12:24 UTC (permalink / raw)
To: catalin.marinas, corbet, linux-kernel; +Cc: Masanari Iida
Add missing explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
Documentation/kernel-parameters.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 74339c5..f2ebc74 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -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
--
2.1.2.451.g98349e5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
2014-10-24 12:24 [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Masanari Iida
2014-10-24 12:24 ` [PATCH 1/2] Documentation: Add default kmemleak off case in kernel-parameters.txt Masanari Iida
@ 2014-10-24 12:25 ` Masanari Iida
2014-10-24 19:10 ` Randy Dunlap
2014-10-24 15:52 ` [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Catalin Marinas
2 siblings, 1 reply; 6+ messages in thread
From: Masanari Iida @ 2014-10-24 12:25 UTC (permalink / raw)
To: catalin.marinas, corbet, linux-kernel; +Cc: Masanari Iida
This patch add a case with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
Documentation/kmemleak.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index f4f033c..0f2bbd8 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
---------------
--
2.1.2.451.g98349e5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case
2014-10-24 12:25 ` [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case Masanari Iida
@ 2014-10-24 19:10 ` Randy Dunlap
0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2014-10-24 19:10 UTC (permalink / raw)
To: Masanari Iida, catalin.marinas, corbet, linux-kernel
On 10/24/14 05:25, Masanari Iida wrote:
> This patch add a case with CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> Documentation/kmemleak.txt | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
> index f4f033c..0f2bbd8 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
is enabled, kmemleak is
> +disabled by default. Passing "kmemleak=on" on the kernel command
> +line enables the function.
> +
> Basic Algorithm
> ---------------
>
>
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case.
2014-10-24 12:24 [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Masanari Iida
2014-10-24 12:24 ` [PATCH 1/2] Documentation: Add default kmemleak off case in kernel-parameters.txt Masanari Iida
2014-10-24 12:25 ` [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case Masanari Iida
@ 2014-10-24 15:52 ` Catalin Marinas
2014-10-24 17:59 ` Jonathan Corbet
2 siblings, 1 reply; 6+ messages in thread
From: Catalin Marinas @ 2014-10-24 15:52 UTC (permalink / raw)
To: Masanari Iida; +Cc: corbet@lwn.net, linux-kernel@vger.kernel.org
On Fri, Oct 24, 2014 at 01:24:58PM +0100, Masanari Iida wrote:
> 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.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-24 19:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 12:24 [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Masanari Iida
2014-10-24 12:24 ` [PATCH 1/2] Documentation: Add default kmemleak off case in kernel-parameters.txt Masanari Iida
2014-10-24 12:25 ` [PATCH 2/2] Documentation: Add CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF case Masanari Iida
2014-10-24 19:10 ` Randy Dunlap
2014-10-24 15:52 ` [PATCH 0/2] Documenation: kmemleak: Add an explanation about CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y case Catalin Marinas
2014-10-24 17:59 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.