public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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-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 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

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-09 18:59 [PATCH] Documentation: update kmemleak architecture support info Maxin B John
2011-06-10  6:46 ` Daniel Baluta
  -- 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-10 19:09 Maxin B John
2011-06-10 20:18 ` Randy Dunlap
2011-06-10 21:22   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox