mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: Catalin Marinas <catalin.marinas@gmail.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.35-rc6 patch] increase kmemleak robustness at boot
Date: Thu, 29 Jul 2010 18:12:46 +0300	[thread overview]
Message-ID: <4C519A6E.8000002@cs.helsinki.fi> (raw)
In-Reply-To: <AANLkTik-M_=G4Ks=U6hRm1dBTzbzovR47jdhjTjNqekX@mail.gmail.com>

Daniel J Blueman wrote:
>> I would rather change the static early alloc buffer with something
>> like bootmem allocation (the recursiveness should be bound, kmemleak
>> tracks bootmem allocations as well). But I'm on holiday until middle
>> of August and not able to do any tests in this area.
> 
> Indeed, moving to dynamic early allocation is all the more better. For
> now, I'll increase the early allocation to 15200 elements, as the
> 400-entry buffer wraps 38.

If it's just kmemleak_init() we're talking about, slab caches are up at 
that point so you can just use kmalloc().

  reply	other threads:[~2010-07-29 15:13 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 [this message]
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

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=4C519A6E.8000002@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