From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: Daniel J Blueman <daniel.blueman@gmail.com>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.35-rc6 patch] increase kmemleak robustness at boot
Date: Sat, 31 Jul 2010 12:42:50 +0300 [thread overview]
Message-ID: <4C53F01A.8090205@cs.helsinki.fi> (raw)
In-Reply-To: <AANLkTi=+_bSNY3pnowGmU-NEVzL7VWYeGhT44y7SL3L7@mail.gmail.com>
Catalin Marinas wrote:
>> Right. I guess the required earlylog buffer size would be smaller if
>> we initialized kmemleak earlier. Can we do that in mm_init() after
>> kmem_cache_init()?
>
> Kmemleak uses kmem_cache_alloc() internally so we could initialise it
> as soon as kmem_cache_init() was called. But it's really strange the
> amount of early allocations that Daniel is getting. I've been happy so
> far with 400, usually with standard Ubuntu-like configs and some
> debugging turned on. Any idea what's causing these allocations?
No idea. I wonder if kmemleak can dump out the call-sites for the
overflow case somehow to see what's going on?
Pekka
prev parent reply other threads:[~2010-07-31 9:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 16:40 Daniel J Blueman
2010-07-28 16:49 ` Pekka Enberg
2010-07-28 18:39 ` Daniel J Blueman
2010-07-29 11:34 ` Catalin Marinas
2010-07-29 12:48 ` Daniel J Blueman
2010-07-29 15:12 ` Pekka Enberg
2010-07-29 18:03 ` Daniel J Blueman
2010-07-29 18:50 ` Pekka Enberg
2010-07-29 20:39 ` Catalin Marinas
2010-07-31 9:42 ` Pekka Enberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C53F01A.8090205@cs.helsinki.fi \
--to=penberg@cs.helsinki.fi \
--cc=catalin.marinas@gmail.com \
--cc=daniel.blueman@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome