Skip to contentSkip to conversation

kmemleak: update documentation

PATCH Applied Daniel Baluta 6 participants 8 messages Mar 24, 2011 – Mar 29, 2011 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kmemleak: update documentation

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

---
 Documentation/kmemleak.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/kmemleak.txt +2 -2
index 34f6638..090e6ee 100644
@@ -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.
Signature · 1 line
1.7.1
Applied
#2 lore raw
Quoted 7 lines · On Thu, 24 Mar 2011 15:49:01 +0000 Catalin Marinas wrote:
Quoted 4 lines · Daniel Baluta

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

Applied to my documentation quilt queue. Thanks.

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

#3 lore raw
In reply to Daniel Baluta
Quoted 13 lines · Daniel Baluta

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

---
 Documentation/kmemleak.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/kmemleak.txt +0 -0
index 34f6638..090e6ee 100644

Documentation/kmemleak.txt with the difference that the orphan objects are not freed but only · line 14

Quoted 4 lines
Documentation/kmemleak.txt +1 -0
@@ -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.

#4 lore raw
Quoted 3 lines
Quoted 1 line

+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.

#5 lore raw

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

Quoted 18 lines · Daniel Baluta
Quoted 3 lines
Quoted 1 line

+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/

#6 lore raw
Quoted 6 lines

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.

#7 lore raw
In reply to Daniel Baluta
Quoted 9 lines · On Tue, 29 Mar 2011 10:51:33 +0300 Daniel Baluta wrote:
Quoted 3 lines
Quoted 1 line

+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 ***