Skip to contentSkip to conversation

Probable Bug (or configuration error) in kmemleak

PATCH In review Sankar P 6 participants 24 messages Jun 17, 2010 – Jun 25, 2010 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Sankar P

author
#0 lore raw

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

Signature · 2 lines
Sankar P
http://psankar.blogspot.com
#1 lore raw
Quoted 20 lines · Sankar P

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Quoted 6 lines

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

This is odd.. Do you see this message on your kernel ring buffer?

Failed to create the debugfs kmemleak file

Luis

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author
#2 lore raw
Quoted 24 lines · Luis R. Rodriguez
Quoted 23 lines · Sankar P

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree  with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

Quoted 9 lines
Quoted 3 lines

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

This is odd.. Do you see this message on your kernel ring buffer?

Failed to create the debugfs kmemleak file

I dont see such an error in the dmesg output. But I got another interesting error:

[    0.000000] kmemleak: Early log buffer exceeded, please increase
DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] kmemleak: Kernel memory leak detector disabled

But after that also, I see some other lines like:

[    0.511641] kmemleak: vmalloc(64) = f7857000
[    0.511645] kmemleak: vmalloc(64) = f785a000

The variable DEBUG_KMEMLEAK_EARLY_LOG_SIZE was set to 400 by default. I changed it to 4000 and then 40000 (may be should try < 32567 ?) but still I get the same error message and the file /sys/kernel/debug/kmem* is never created at all.

Attached is the output of : dmesg | grep -i kmemleak

Signature · 2 lines
Sankar P
http://psankar.blogspot.com
#3 lore raw
Quoted 36 lines · Sankar P
Quoted 24 lines · Luis R. Rodriguez
Quoted 23 lines · Sankar P

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

Quoted 9 lines
Quoted 3 lines

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

This is odd.. Do you see this message on your kernel ring buffer?

Failed to create the debugfs kmemleak file

Quoted 6 lines

I dont see such an error in the dmesg output. But I got another interesting error:

[    0.000000] kmemleak: Early log buffer exceeded, please increase
DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] kmemleak: Kernel memory leak detector disabled

You would need to increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE. The default of 400 seems ok for me but it may not work with some other kernel configurations (that's a static array for logging memory allocations before the kmemleak is fully initialised and can start tracking them).

Quoted 4 lines

But after that also, I see some other lines like:

[    0.511641] kmemleak: vmalloc(64) = f7857000
[    0.511645] kmemleak: vmalloc(64) = f785a000

This is because you compiler the test module into the kernel (DEBUG_KMEMLEAK_TEST). It's not kmemleak printing this but it's testing module (which leaks memory on purpose).

Quoted 4 lines

The variable DEBUG_KMEMLEAK_EARLY_LOG_SIZE was set to 400 by default. I changed it to 4000 and then 40000 (may be should try < 32567 ?) but still I get the same error message and the file /sys/kernel/debug/kmem* is never created at all.

This shouldn't usually happen with values greater than 2000. From your kernel log, the version seems to be 2.6.32. Do you have the same problems with 2.6.35-rc3?

Your .config seems to refer to the 2.6.35-rc3 kernel - are you checking the right image?

Signature · 7 lines
Catalin

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#4 lore raw
Quoted 63 lines · Catalin Marinas
Quoted 36 lines · Sankar P
Quoted 24 lines · Luis R. Rodriguez
Quoted 23 lines · Sankar P

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree  with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

Quoted 9 lines
Quoted 3 lines

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

This is odd.. Do you see this message on your kernel ring buffer?

Failed to create the debugfs kmemleak file

Quoted 6 lines

I dont see such an error in the dmesg output. But I got another interesting error:

[    0.000000] kmemleak: Early log buffer exceeded, please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] kmemleak: Kernel memory leak detector disabled

You would need to increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE. The default of 400 seems ok for me but it may not work with some other kernel configurations (that's a static array for logging memory allocations before the kmemleak is fully initialised and can start tracking them).

Quoted 4 lines

But after that also, I see some other lines like:

[    0.511641] kmemleak: vmalloc(64) = f7857000
[    0.511645] kmemleak: vmalloc(64) = f785a000

This is because you compiler the test module into the kernel (DEBUG_KMEMLEAK_TEST). It's not kmemleak printing this but it's testing module (which leaks memory on purpose).

Quoted 4 lines

The variable  DEBUG_KMEMLEAK_EARLY_LOG_SIZE was set to 400 by default. I changed it to 4000 and then 40000 (may be should try < 32567 ?) but still I get the same error message and the file /sys/kernel/debug/kmem* is never created at all.

Quoted 7 lines

This shouldn't usually happen with values greater than 2000. From your kernel log, the version seems to be 2.6.32. Do you have the same problems with 2.6.35-rc3?

Your .config seems to refer to the 2.6.35-rc3 kernel - are you checking the right image?

Ah sorry. I am testing by ssh into a remote machine. After installing my kernel (after increasing the DEBUG_KMEMLEAK_EARLY_LOG_SIZE), Before rebooting, I forgot to change the default-kernel this time. I will check once again and will let you know. Thank you a lot for the "dmesg" pointer.

Signature · 8 lines
Sankar P
http://psankar.blogspot.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#5 lore raw
Quoted 73 lines · Sankar P
Quoted 63 lines · Catalin Marinas
Quoted 36 lines · Sankar P
Quoted 24 lines · Luis R. Rodriguez
Quoted 23 lines · Sankar P

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I built Linus' tree  with the following config options enabled (on top of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted /sys/kernel/debug directory btw. So I am not able to detect any of the memory leaks. Is there anything I am doing wrong or missing (or) is this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks reporting working. Thanks.

Quoted 9 lines
Quoted 3 lines

The full .config file is also attached with this mail. Sorry for the attachment, I did not want to paste 5k lines in the mail. Sorry if it is wrong.

This is odd.. Do you see this message on your kernel ring buffer?

Failed to create the debugfs kmemleak file

Quoted 6 lines

I dont see such an error in the dmesg output. But I got another interesting error:

[    0.000000] kmemleak: Early log buffer exceeded, please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] kmemleak: Kernel memory leak detector disabled

You would need to increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE. The default of 400 seems ok for me but it may not work with some other kernel configurations (that's a static array for logging memory allocations before the kmemleak is fully initialised and can start tracking them).

Quoted 4 lines

But after that also, I see some other lines like:

[    0.511641] kmemleak: vmalloc(64) = f7857000
[    0.511645] kmemleak: vmalloc(64) = f785a000

This is because you compiler the test module into the kernel (DEBUG_KMEMLEAK_TEST). It's not kmemleak printing this but it's testing module (which leaks memory on purpose).

Quoted 4 lines

The variable  DEBUG_KMEMLEAK_EARLY_LOG_SIZE was set to 400 by default. I changed it to 4000 and then 40000 (may be should try < 32567 ?) but still I get the same error message and the file /sys/kernel/debug/kmem* is never created at all.

Quoted 7 lines

This shouldn't usually happen with values greater than 2000. From your kernel log, the version seems to be 2.6.32. Do you have the same problems with 2.6.35-rc3?

Your .config seems to refer to the 2.6.35-rc3 kernel - are you checking the right image?

Quoted 7 lines

Ah sorry. I am testing by ssh into a remote machine. After installing my kernel (after increasing the DEBUG_KMEMLEAK_EARLY_LOG_SIZE), Before rebooting, I forgot to change the default-kernel this time. I will check once again and will let you know. Thank you a lot for the "dmesg" pointer.

Thanks for your "dmesg" pointer, I was able to solve the problem. I found that whenever I ran "defconfig", the value of 400 for DEBUG_KMEMLEAK_EARLY_LOG_SIZE seem to be inadequate always. So I made a trivial patch incrementing the value to 1000. This worked fine for my debugging. So, take the patch I will send next, if you prefer.

Signature · 8 lines
Sankar P
http://psankar.blogspot.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
author
#6 lore raw

PATCH 1/1 mm: kmemleak: Change kmemleak default buffer size

In reply to Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

---
 arch/sh/configs/sh7785lcr_32bit_defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/configs/sh7785lcr_32bit_defconfig +1 -1
index 71f39c7..b02e5ae 100644
@@ -1710,7 +1710,7 @@ CONFIG_SCHEDSTATS=y
 # CONFIG_DEBUG_OBJECTS is not set
 # CONFIG_DEBUG_SLAB is not set
 CONFIG_DEBUG_KMEMLEAK=y
-CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1000
 # CONFIG_DEBUG_KMEMLEAK_TEST is not set
 CONFIG_DEBUG_PREEMPT=y
 # CONFIG_DEBUG_RT_MUTEXES is not set
Signature · 7 lines
1.6.4.2

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#7 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 15 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

---
 arch/sh/configs/sh7785lcr_32bit_defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/configs/sh7785lcr_32bit_defconfig +0 -0
index 71f39c7..b02e5ae 100644

arch/sh/configs/sh7785lcr_32bit_defconfig CONFIG_SCHEDSTATS=y · line 1716

Quoted 8 lines
arch/sh/configs/sh7785lcr_32bit_defconfig +1 -1
@@ -1710,7 +1710,7 @@ CONFIG_SCHEDSTATS=y
 # CONFIG_DEBUG_OBJECTS is not set
 # CONFIG_DEBUG_SLAB is not set
 CONFIG_DEBUG_KMEMLEAK=y
-CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE@0
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE00
 # CONFIG_DEBUG_KMEMLEAK_TEST is not set
 CONFIG_DEBUG_PREEMPT=y
 # CONFIG_DEBUG_RT_MUTEXES is not set

I'm pretty sure you want to do this change in lib/Kconfig.debug.

author
#8 lore raw

PATCH 1/1 kmemleak: config-options: Default buffer size for kmemleak

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size of DEBUG_KMEMLEAK_EARLY_LOG_SIZE seem to be inadequate.

Change the buffer size from 400 to 1000,
which is sufficient for most cases.

---

Thanks to Pekka Enberg's comments on my previous mail, I am sending a better patch, and adding new reviewers as suggested by the get_maintainer script.

 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/Kconfig.debug +1 -1
index e722e9d..5eb9463 100644
@@ -382,7 +382,7 @@ config DEBUG_KMEMLEAK_EARLY_LOG_SIZE
 	int "Maximum kmemleak early log entries"
 	depends on DEBUG_KMEMLEAK
 	range 200 40000
-	default 400
+	default 1000
 	help
 	  Kmemleak must track all the memory allocations to avoid
 	  reporting false positives. Since memory may be allocated or
Signature · 7 lines
1.6.4.2

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#9 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

Quoted 7 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size of DEBUG_KMEMLEAK_EARLY_LOG_SIZE seem to be inadequate.

Change the buffer size from 400 to 1000,
which is sufficient for most cases.

Or you could just bump it up in your config where you seem to be hitting this problem. The default of 400 is sufficient for most people, so bloating it up for a corner case seems a bit premature. Perhaps eventually we'll have no choice and have to tolerate the bloat, as we did with LOG_BUF_SHIFT, but it's not obvious that we've hit that point with kmemleak yet.

#10 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

Quoted 8 lines · Paul Mundt
Quoted 7 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size of DEBUG_KMEMLEAK_EARLY_LOG_SIZE seem to be inadequate.

Change the buffer size from 400 to 1000,
which is sufficient for most cases.

Quoted 6 lines

Or you could just bump it up in your config where you seem to be hitting this problem. The default of 400 is sufficient for most people, so bloating it up for a corner case seems a bit premature. Perhaps eventually we'll have no choice and have to tolerate the bloat, as we did with LOG_BUF_SHIFT, but it's not obvious that we've hit that point with kmemleak yet.

I agree. The 400 seems to be sufficient with standard kernel configurations (I usually try some of the Ubuntu configs on x86). The error message is hopefully clear enough about what needs to be changed.

The defconfig change for this specific platform may be a better option but I thought defconfigs are to provide a stable (and maybe close to optimal) configuration without all the debugging features enabled (especially those slowing things down considerably).

Signature · 1 line
Catalin
#11 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

Quoted 16 lines · Catalin Marinas
Quoted 8 lines · Paul Mundt
Quoted 7 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size of DEBUG_KMEMLEAK_EARLY_LOG_SIZE seem to be inadequate.

Change the buffer size from 400 to 1000,
which is sufficient for most cases.

Quoted 6 lines

Or you could just bump it up in your config where you seem to be hitting this problem. The default of 400 is sufficient for most people, so bloating it up for a corner case seems a bit premature. Perhaps eventually we'll have no choice and have to tolerate the bloat, as we did with LOG_BUF_SHIFT, but it's not obvious that we've hit that point with kmemleak yet.

Quoted 9 lines

I agree. The 400 seems to be sufficient with standard kernel configurations (I usually try some of the Ubuntu configs on x86). The error message is hopefully clear enough about what needs to be changed.

The defconfig change for this specific platform may be a better option but I thought defconfigs are to provide a stable (and maybe close to optimal) configuration without all the debugging features enabled (especially those slowing things down considerably).

I would be fine with that, but I don't see any correlation between the posted dmesg and the defconfig? I've run the config in question without hitting problems, so I'm a bit confused as to why that particular config was singled out.

#12 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

In reply to Catalin Marinas
Quoted 4 lines · Catalin Marinas

The defconfig change for this specific platform may be a better option but I thought defconfigs are to provide a stable (and maybe close to optimal) configuration without all the debugging features enabled (especially those slowing things down considerably).

The defconfig change was definitely not a clean solution to this problem. Better bake the fix in Kconfig proper even if it means dependency on CONFIG_SH or something.

#13 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

Quoted 10 lines · Pekka Enberg
Quoted 4 lines · Catalin Marinas

The defconfig change for this specific platform may be a better option but I thought defconfigs are to provide a stable (and maybe close to optimal) configuration without all the debugging features enabled (especially those slowing things down considerably).

The defconfig change was definitely not a clean solution to this problem. Better bake the fix in Kconfig proper even if it means dependency on CONFIG_SH or something.

OK, maybe something like this

	default 1000 if SH
	default 400

It seems that kbuild only considers the first encounter of "default".

Thanks.

Signature · 1 line
Catalin
#14 lore raw

Re: [PATCH] kmemleak: config-options: Default buffer size for kmemleak

Quoted 12 lines · Catalin Marinas
Quoted 10 lines · Pekka Enberg
Quoted 4 lines · Catalin Marinas

The defconfig change for this specific platform may be a better option but I thought defconfigs are to provide a stable (and maybe close to optimal) configuration without all the debugging features enabled (especially those slowing things down considerably).

The defconfig change was definitely not a clean solution to this problem. Better bake the fix in Kconfig proper even if it means dependency on CONFIG_SH or something.

Quoted 6 lines

OK, maybe something like this

       default 1000 if SH
       default 400

It seems that kbuild only considers the first encounter of "default".

Sure, I'm fine with that.

#15 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

In reply to Sankar P
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

using your real name (sorry, no pseudonyms or anonymous contributions.)

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

Luis

Quoted 20 lines
---
 arch/sh/configs/sh7785lcr_32bit_defconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/configs/sh7785lcr_32bit_defconfig +1 -1
index 71f39c7..b02e5ae 100644
@@ -1710,7 +1710,7 @@ CONFIG_SCHEDSTATS=y
 # CONFIG_DEBUG_OBJECTS is not set
 # CONFIG_DEBUG_SLAB is not set
 CONFIG_DEBUG_KMEMLEAK=y
-CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE@0
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE00
 # CONFIG_DEBUG_KMEMLEAK_TEST is not set
 CONFIG_DEBUG_PREEMPT=y
 # CONFIG_DEBUG_RT_MUTEXES is not set
Signature · 1 line
1.6.4.2
author
#16 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 13 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

Quoted 8 lines

using your real name (sorry, no pseudonyms or anonymous contributions.)

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

I will send the updated patch as a new mail, I thought it will be easier to follow if all mails belongs to the same thread.

Thanks

Quoted 23 lines

 Luis

Quoted 20 lines

---
 arch/sh/configs/sh7785lcr_32bit_defconfig |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/configs/sh7785lcr_32bit_defconfig +0 -0
index 71f39c7..b02e5ae 100644
@@ -1710,7 +1710,7 @@ CONFIG_SCHEDSTATS=y
  # CONFIG_DEBUG_OBJECTS is not set
  # CONFIG_DEBUG_SLAB is not set

 CONFIG_DEBUG_KMEMLEAK=y

arch/sh/configs/sh7785lcr_32bit_defconfig +1 -1
-CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
+CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1000

 # CONFIG_DEBUG_KMEMLEAK_TEST is not set
 CONFIG_DEBUG_PREEMPT=y
 # CONFIG_DEBUG_RT_MUTEXES is not set
--
1.6.4.2

Signature · 2 lines
Sankar P
http://psankar.blogspot.com
#17 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 20 lines · Sankar P
Quoted 18 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

using your real name (sorry, no pseudonyms or anonymous contributions.)

Quoted 6 lines
Quoted 3 lines

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Oh wow, what part of the world is that? Interesting.

Quoted 2 lines

I will send the updated patch as a new mail, I thought it will be easier to follow if all mails belongs to the same thread.

It does help in-thread, but patches should be sent separately unless you know for sure the maintainer *will* read this.

Luis

A message that is not in the archive (sent off-list or not yet received): [email protected]

#19 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 30 lines · Sankar P
Quoted 28 lines · Luis R. Rodriguez
Quoted 26 lines · Sankar P
Quoted 13 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

Quoted 8 lines

using your real name (sorry, no pseudonyms or anonymous contributions.)

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Quoted 6 lines
Quoted 2 lines

Oh wow, what part of the world is that? Interesting.

It is in a place called "Tamil Nadu" in India. See
http://en.wikipedia.org/wiki/Indian_name (First paragraph end)

Odd, I visited Tamil Nadu for a while and met quite a few folks who have full last names, like the ones Cc'd. Does this differ between area or what?

Quoted 11 lines
Quoted 6 lines
Quoted 2 lines

I will send the updated patch as a new mail, I thought it will be easier to follow if all mails belongs to the same thread.

It does help in-thread, but patches should be sent separately unless you know for sure the maintainer *will* read this.

Okay I will take care next time. Thanks for the advice.

Sent this off-thread as I was not sure if people might like talking about "Names" in LKML.

Actually it is important since the SOB is part of the development process. If we cannot gaurantee names on the SOB then that needs to be known too.

Luis

author
#20 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 35 lines · Luis R. Rodriguez
Quoted 34 lines · Sankar P
Quoted 30 lines · Luis R. Rodriguez
Quoted 20 lines · Sankar P
Quoted 18 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

using your real name (sorry, no pseudonyms or anonymous contributions.)

Quoted 6 lines
Quoted 3 lines

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Oh wow, what part of the world is that? Interesting.

Quoted 7 lines
Quoted 2 lines

It is in a place called "Tamil Nadu" in India. See
http://en.wikipedia.org/wiki/Indian_name (First paragraph end)

Odd, I visited Tamil Nadu for a while and met quite a few folks who have full last names, like the ones Cc'd. Does this differ between area or what?

Thiagarajan, Manoharan, Balasubramanian <= these are all first names. Probably they are using their Father's full name as their last name.

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines

I will send the updated patch as a new mail, I thought it will be easier to follow if all mails belongs to the same thread.

It does help in-thread, but patches should be sent separately unless you know for sure the maintainer *will* read this.

Quoted 9 lines
Quoted 4 lines

Okay I will take care next time. Thanks for the advice.

Sent this off-thread as I was not sure if people might like talking about "Names"  in LKML.

Actually it is important since the SOB is part of the development process. If we cannot gaurantee names on the SOB then that needs to be known too.

okay.

Signature · 2 lines
Sankar P
http://psankar.blogspot.com
#21 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 40 lines · Sankar P
Quoted 38 lines · Luis R. Rodriguez
Quoted 36 lines · Sankar P
Quoted 21 lines · Luis R. Rodriguez
Quoted 20 lines · Sankar P
Quoted 18 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

using your real name (sorry, no pseudonyms or anonymous contributions.)

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Oh wow, what part of the world is that? Interesting.

It is in a place called "Tamil Nadu" in India. See
http://en.wikipedia.org/wiki/Indian_name (First paragraph end)

Quoted 7 lines
Quoted 4 lines

Odd, I visited Tamil Nadu for a while and met quite a few folks who have full last names, like the ones Cc'd. Does this differ between area or what?

Thiagarajan, Manoharan, Balasubramanian <= these are all first names. Probably they are using their Father's full name as their last name.

And their first names are what then?

Luis

author
#22 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 46 lines · Luis R. Rodriguez
Quoted 45 lines · Sankar P
Quoted 42 lines · Luis R. Rodriguez
Quoted 30 lines · Sankar P
Quoted 28 lines · Luis R. Rodriguez
Quoted 26 lines · Sankar P
Quoted 13 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

Quoted 8 lines

using your real name (sorry, no pseudonyms or anonymous contributions.)

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Quoted 6 lines
Quoted 2 lines

Oh wow, what part of the world is that? Interesting.

It is in a place called "Tamil Nadu" in India. See
http://en.wikipedia.org/wiki/Indian_name (First paragraph end)

Odd, I visited Tamil Nadu for a while and met quite a few folks who have full last names, like the ones Cc'd. Does this differ between area or what?

Quoted 5 lines
Quoted 2 lines

Thiagarajan, Manoharan, Balasubramanian <= these are all first names. Probably they are using their Father's full name as their last name.

And their first names are what then?

What I mean is:

Senthil Balasubramanian : Senthil is the person's first name. "Balasubramanian" is his father's first name, which Mr.Senthil uses as his last name. Mr Balasubramanian (who is senthil's father) will have a name like: Balasubramanian Paramasivan, where "Paramasivan" is the first name of Senthil's grandfather. (Paramasivan is a hypothetical name here).

Such a Father's-first-name-as-last-name is a very common thing in Tamil Nadu, India. Some people use the full firstname of father as the last name, while some other just use the first letter, as it might cause name conflicts. For instance, if a postal-mail is sent to "Mr. Balasubramanian" then the postman will want to deliver it to Senthil's father and not Senthil.

I hope I explained it clearly this time :-)

Signature · 2 lines
Sankar P
http://psankar.blogspot.com
#23 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Quoted 63 lines · Sankar P
Quoted 46 lines · Luis R. Rodriguez
Quoted 45 lines · Sankar P
Quoted 42 lines · Luis R. Rodriguez
Quoted 30 lines · Sankar P
Quoted 28 lines · Luis R. Rodriguez
Quoted 26 lines · Sankar P
Quoted 13 lines · Luis R. Rodriguez
Quoted 6 lines · Sankar P

If we try to find the memory leaks in kernel that is compiled with 'make defconfig', the default buffer size seem to be inadequate. Change the buffer size from 400 to 1000, which is sufficient in most cases.

What's your full name? Please read the "Developer's Certificate of Origin 1.1" It says:

then you just add a line saying

Quoted 8 lines

using your real name (sorry, no pseudonyms or anonymous contributions.)

Also you may want to post on a new thread instead of using this old thread unless the maintainer is reading this and wants to pick it up.

In our part of the world, we dont have lastnames. We just use the first letter of our father's name as the last name.

Quoted 6 lines
Quoted 2 lines

Oh wow, what part of the world is that? Interesting.

It is in a place called "Tamil Nadu" in India. See
http://en.wikipedia.org/wiki/Indian_name (First paragraph end)

Odd, I visited Tamil Nadu for a while and met quite a few folks who have full last names, like the ones Cc'd. Does this differ between area or what?

Quoted 5 lines
Quoted 2 lines

Thiagarajan, Manoharan, Balasubramanian <= these are all first names. Probably they are using their Father's full name as their last name.

And their first names are what then?

What I mean is:

Senthil Balasubramanian : Senthil is the person's first name. "Balasubramanian" is his father's first name, which Mr.Senthil uses as his last name. Mr Balasubramanian (who is senthil's father) will have a name like: Balasubramanian Paramasivan, where "Paramasivan" is the first name of Senthil's grandfather. (Paramasivan is a hypothetical name here).

Quoted 8 lines

Such a Father's-first-name-as-last-name is a very common thing in Tamil Nadu, India. Some people use the full firstname of father as the last name, while some other just use the first letter, as it might cause name conflicts. For instance, if a postal-mail is sent to "Mr. Balasubramanian" then the postman will want to deliver it to Senthil's father and not Senthil.

I hope I explained it clearly this time :-)

Indeed, thanks, so the letter only last name is really more of an exemption? Or is it really common as well?

Luis

#24 lore raw

Re: [PATCH] mm: kmemleak: Change kmemleak default buffer size

Hello,

Quoted 4 lines · Luis R. Rodriguez
Quoted 1 line

I hope I explained it clearly this time :-)

Indeed, thanks, so the letter only last name is really more of an exemption? Or is it really common as well?

Having full name for SOB is the requirement. Sankar P's full name is Sankar P. That's as much as anyone cares or _should_ care, at least on the list. If you wanna pursue further, can you please take it off list?

Thanks.

Signature · 1 line
tejun