* [PATCH] Documentation: update kmemleak architecture support info
@ 2011-06-09 18:59 Maxin B John
2011-06-10 6:46 ` Daniel Baluta
0 siblings, 1 reply; 9+ messages in thread
From: Maxin B John @ 2011-06-09 18:59 UTC (permalink / raw)
To: linux-doc; +Cc: catalin.marinas, rdunlap, dbaluta, linux-kernel
Kmemleak now supports s390 and mips too.
Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index 090e6ee..82833ff 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -11,7 +11,8 @@ with the difference that the orphan objects are not freed but only
reported via /sys/kernel/debug/kmemleak. A similar method is used by the
Valgrind tool (memcheck --leak-check) to detect the memory leaks in
user-space applications.
-Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
+Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
+s390 and mips.
Usage
-----
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-09 18:59 Maxin B John
@ 2011-06-10 6:46 ` Daniel Baluta
0 siblings, 0 replies; 9+ messages in thread
From: Daniel Baluta @ 2011-06-10 6:46 UTC (permalink / raw)
To: Maxin B John
Cc: linux-doc@vger.kernel.org, catalin.marinas@arm.com,
rdunlap@xenotime.net, linux-kernel@vger.kernel.org
On 06/09/2011 09:59 PM, Maxin B John wrote:
> Kmemleak now supports s390 and mips too.
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
> index 090e6ee..82833ff 100644
> --- a/Documentation/kmemleak.txt
> +++ b/Documentation/kmemleak.txt
> @@ -11,7 +11,8 @@ with the difference that the orphan objects are not freed but only
> reported via /sys/kernel/debug/kmemleak. A similar method is used by the
> Valgrind tool (memcheck --leak-check) to detect the memory leaks in
> user-space applications.
> -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
> +s390 and mips.
>
> Usage
> -----
Hello,
I am fine with this. What do you say about having
something generic like:
"Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
for supported platforms"
In this way, there's no need to update kememleak.txt everytime
when a new platform is supported.
thanks,
Daniel.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
@ 2011-06-10 7:09 Maxin B John
2011-06-10 7:18 ` Daniel Baluta
0 siblings, 1 reply; 9+ messages in thread
From: Maxin B John @ 2011-06-10 7:09 UTC (permalink / raw)
To: dbaluta; +Cc: nux-doc, catalin.marinas, rdunlap, linux-kernel
> I am fine with this. What do you say about having
> something generic like:
>
> "Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
> for supported platforms"
>
> In this way, there's no need to update kememleak.txt everytime
> when a new platform is supported.
I think it looks better. I have updated the Documentation as per your
suggestion. Please find the modified patch below:
Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index 090e6ee..0915667 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -11,7 +11,9 @@ with the difference that the orphan objects are not freed but only
reported via /sys/kernel/debug/kmemleak. A similar method is used by the
Valgrind tool (memcheck --leak-check) to detect the memory leaks in
user-space applications.
-Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
+Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
+s390 and mips.Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
+for supported platforms.
Usage
-----
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-10 7:09 Maxin B John
@ 2011-06-10 7:18 ` Daniel Baluta
2011-06-10 14:55 ` Catalin Marinas
0 siblings, 1 reply; 9+ messages in thread
From: Daniel Baluta @ 2011-06-10 7:18 UTC (permalink / raw)
To: Maxin B John, catalin.marinas@arm.com
Cc: nux-doc@vger.kernel.org, rdunlap@xenotime.net,
linux-kernel@vger.kernel.org
On 06/10/2011 10:09 AM, Maxin B John wrote:
> -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
> +s390 and mips.Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
> +for supported platforms.
The point of adding my generic comment was to remove direct
references to supported platforms.
In this case your patch should remove the line specifying supported
platforms (x86, arm, powerpc, etc) and only add the line pointing
the reader to lib/Kconfig.debug.
When a new platform will be supported lib/Kconfig.debug will
be surely modified, and the change will be consistent with
information in kmemleak.txt.
Cătălin, what do you think?
thanks,
Daniel.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-10 7:18 ` Daniel Baluta
@ 2011-06-10 14:55 ` Catalin Marinas
2011-06-10 17:55 ` Randy Dunlap
0 siblings, 1 reply; 9+ messages in thread
From: Catalin Marinas @ 2011-06-10 14:55 UTC (permalink / raw)
To: Daniel Baluta
Cc: Maxin B John, nux-doc@vger.kernel.org, rdunlap@xenotime.net,
linux-kernel@vger.kernel.org
On Fri, Jun 10, 2011 at 08:18:50AM +0100, Daniel Baluta wrote:
> On 06/10/2011 10:09 AM, Maxin B John wrote:
> > -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> > +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
> > +s390 and mips.Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
> > +for supported platforms.
> The point of adding my generic comment was to remove direct
> references to supported platforms.
>
> In this case your patch should remove the line specifying supported
> platforms (x86, arm, powerpc, etc) and only add the line pointing
> the reader to lib/Kconfig.debug.
>
> When a new platform will be supported lib/Kconfig.debug will
> be surely modified, and the change will be consistent with
> information in kmemleak.txt.
I think Daniel's suggestion is better, we don't have to worry about
changing the documentation every time we add a new architecture.
In addition to that, I would say "supported architectures" rather than
platforms.
Thanks.
--
Catalin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-10 14:55 ` Catalin Marinas
@ 2011-06-10 17:55 ` Randy Dunlap
0 siblings, 0 replies; 9+ messages in thread
From: Randy Dunlap @ 2011-06-10 17:55 UTC (permalink / raw)
To: Catalin Marinas
Cc: Daniel Baluta, Maxin B John, linux-doc, rdunlap@xenotime.net,
linux-kernel@vger.kernel.org
On Fri, 10 Jun 2011 15:55:18 +0100 Catalin Marinas wrote:
> On Fri, Jun 10, 2011 at 08:18:50AM +0100, Daniel Baluta wrote:
> > On 06/10/2011 10:09 AM, Maxin B John wrote:
> > > -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> > > +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze, tile,
> > > +s390 and mips.Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug
> > > +for supported platforms.
> > The point of adding my generic comment was to remove direct
> > references to supported platforms.
> >
> > In this case your patch should remove the line specifying supported
> > platforms (x86, arm, powerpc, etc) and only add the line pointing
> > the reader to lib/Kconfig.debug.
> >
> > When a new platform will be supported lib/Kconfig.debug will
> > be surely modified, and the change will be consistent with
> > information in kmemleak.txt.
>
> I think Daniel's suggestion is better, we don't have to worry about
> changing the documentation every time we add a new architecture.
>
> In addition to that, I would say "supported architectures" rather than
> platforms.
Maxin,
Please send an updated patch without the currently-supported list
of architectures.
thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
@ 2011-06-10 19:09 Maxin B John
2011-06-10 20:18 ` Randy Dunlap
0 siblings, 1 reply; 9+ messages in thread
From: Maxin B John @ 2011-06-10 19:09 UTC (permalink / raw)
To: rdunlap; +Cc: catalin.marinas, dbaluta, linux-doc, linux-kernel
>> I think Daniel's suggestion is better, we don't have to worry about
>> changing the documentation every time we add a new architecture.
I agree with that.
> Please send an updated patch without the currently-supported list
> of architectures.
Please find the updated patch below:
Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index 090e6ee..51063e6 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -11,7 +11,9 @@ with the difference that the orphan objects are not freed but only
reported via /sys/kernel/debug/kmemleak. A similar method is used by the
Valgrind tool (memcheck --leak-check) to detect the memory leaks in
user-space applications.
-Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
+
+Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug for supported
+architectures.
Usage
-----
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-10 19:09 [PATCH] Documentation: update kmemleak architecture support info Maxin B John
@ 2011-06-10 20:18 ` Randy Dunlap
2011-06-10 21:22 ` Catalin Marinas
0 siblings, 1 reply; 9+ messages in thread
From: Randy Dunlap @ 2011-06-10 20:18 UTC (permalink / raw)
To: Maxin B John; +Cc: catalin.marinas, dbaluta, linux-doc, linux-kernel
On Fri, 10 Jun 2011 22:09:56 +0300 Maxin B John wrote:
> >> I think Daniel's suggestion is better, we don't have to worry about
> >> changing the documentation every time we add a new architecture.
> I agree with that.
>
> > Please send an updated patch without the currently-supported list
> > of architectures.
> Please find the updated patch below:
>
> Signed-off-by: Maxin B. John <maxin.john@gmail.com>
Applied, thanks.
> ---
> diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
> index 090e6ee..51063e6 100644
> --- a/Documentation/kmemleak.txt
> +++ b/Documentation/kmemleak.txt
> @@ -11,7 +11,9 @@ with the difference that the orphan objects are not freed but only
> reported via /sys/kernel/debug/kmemleak. A similar method is used by the
> Valgrind tool (memcheck --leak-check) to detect the memory leaks in
> user-space applications.
> -Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> +
> +Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug for supported
> +architectures.
>
> Usage
> -----
>
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Documentation: update kmemleak architecture support info
2011-06-10 20:18 ` Randy Dunlap
@ 2011-06-10 21:22 ` Catalin Marinas
0 siblings, 0 replies; 9+ messages in thread
From: Catalin Marinas @ 2011-06-10 21:22 UTC (permalink / raw)
To: Randy Dunlap
Cc: Maxin B John, dbaluta@ixiacom.com, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
On Fri, Jun 10, 2011 at 09:18:38PM +0100, Randy Dunlap wrote:
> On Fri, 10 Jun 2011 22:09:56 +0300 Maxin B John wrote:
> > >> I think Daniel's suggestion is better, we don't have to worry about
> > >> changing the documentation every time we add a new architecture.
> > I agree with that.
> >
> > > Please send an updated patch without the currently-supported list
> > > of architectures.
> > Please find the updated patch below:
> >
> > Signed-off-by: Maxin B. John <maxin.john@gmail.com>
>
> Applied, thanks.
Thanks.
--
Catalin
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-10 21:22 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 19:09 [PATCH] Documentation: update kmemleak architecture support info Maxin B John
2011-06-10 20:18 ` Randy Dunlap
2011-06-10 21:22 ` Catalin Marinas
-- strict thread matches above, loose matches on Subject: below --
2011-06-10 7:09 Maxin B John
2011-06-10 7:18 ` Daniel Baluta
2011-06-10 14:55 ` Catalin Marinas
2011-06-10 17:55 ` Randy Dunlap
2011-06-09 18:59 Maxin B John
2011-06-10 6:46 ` Daniel Baluta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox