2011-03-24 14:50:04

by Daniel Baluta

[permalink] [raw]
Subject: [PATCH] kmemleak: update documentation

Besides x86 and arm, kmemleak now supports powerpc, sparc, sh,
microblaze and tile.

Signed-off-by: Daniel Baluta <[email protected]>
---
Documentation/kmemleak.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index 34f6638..090e6ee 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -11,6 +11,7 @@ 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.

Usage
-----
@@ -178,5 +179,4 @@ block doesn't need to be freed (some cases in the init_call functions),
the pointer is calculated by other methods than the usual container_of
macro or the pointer is stored in a location not scanned by kmemleak.

-Page allocations and ioremap are not tracked. Only the ARM and x86
-architectures are currently supported.
+Page allocations and ioremap are not tracked.
--
1.7.1


2011-03-24 15:49:13

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

On Thu, 2011-03-24 at 14:49 +0000, Daniel Baluta wrote:
> Besides x86 and arm, kmemleak now supports powerpc, sparc, sh,
> microblaze and tile.
>
> Signed-off-by: Daniel Baluta <[email protected]>

Acked-by: Catalin Marinas <[email protected]>

2011-03-24 21:26:54

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

On Thu, 24 Mar 2011 15:49:01 +0000 Catalin Marinas wrote:

> On Thu, 2011-03-24 at 14:49 +0000, Daniel Baluta wrote:
> > Besides x86 and arm, kmemleak now supports powerpc, sparc, sh,
> > microblaze and tile.
> >
> > Signed-off-by: Daniel Baluta <[email protected]>
>
> Acked-by: Catalin Marinas <[email protected]>

Applied to my documentation quilt queue. Thanks.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2011-03-29 07:36:47

by Heiko Carstens

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

On Thu, Mar 24, 2011 at 04:49:33PM +0200, Daniel Baluta wrote:
> Besides x86 and arm, kmemleak now supports powerpc, sparc, sh,
> microblaze and tile.
>
> Signed-off-by: Daniel Baluta <[email protected]>
> ---
> Documentation/kmemleak.txt | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
> index 34f6638..090e6ee 100644
> --- a/Documentation/kmemleak.txt
> +++ b/Documentation/kmemleak.txt
> @@ -11,6 +11,7 @@ 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.

You missed s390.

2011-03-29 07:51:35

by Daniel Baluta

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

>> +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
>
> You missed s390.

You are right.

Randy, should I send a v2 of this patch, or is it already applied?
Another option would be to send a separate patch adding s390,
on top of my previous patch.

thanks,
Daniel.

2011-03-29 09:41:12

by Maxin B. John

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

Hi,

With some minor modifications, I was able to run kmemleak in MIPS platform.
Kmemleak output and Patch are available in this link:

https://lkml.org/lkml/2011/3/28/483

Should we include that information in the Documentation ?

Warm Regards,
Maxin B. John

On Tue, Mar 29, 2011 at 8:51 AM, Daniel Baluta <[email protected]> wrote:
>>> +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
>>
>> You missed s390.
>
> You are right.
>
> Randy, should I send a v2 of this patch, or is it already applied?
> Another option would be to send a separate patch adding s390,
> on top of my previous patch.
>
> thanks,
> Daniel.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at ?http://www.tux.org/lkml/
>

2011-03-29 11:24:38

by Daniel Baluta

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

> With some minor modifications, I was able to run kmemleak in MIPS platform.
> Kmemleak output and Patch are available in this link:
>
> https://lkml.org/lkml/2011/3/28/483
>
> Should we include that information in the Documentation ?

Sure, but first lets consolidate the patch for MIPS support.

Daniel.

2011-03-29 15:35:18

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] kmemleak: update documentation

On Tue, 29 Mar 2011 10:51:33 +0300 Daniel Baluta wrote:

> >> +Kmemleak is supported on x86, arm, powerpc, sparc, sh, microblaze and tile.
> >
> > You missed s390.
>
> You are right.
>
> Randy, should I send a v2 of this patch, or is it already applied?
> Another option would be to send a separate patch adding s390,
> on top of my previous patch.

Your patch is still in my patch queue, so please send me a full replacement
patch for it.

thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***