public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel.com>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: issues with kmemleak backport
Date: Thu, 21 Jan 2010 09:34:39 -0600	[thread overview]
Message-ID: <4B58740F.7050400@nortel.com> (raw)
In-Reply-To: <1264028299.5185.20.camel@pc1117.cambridge.arm.com>

On 01/20/2010 04:58 PM, Catalin Marinas wrote:
> Hi,
> 
> First of all, apart from backporting the kmemleak patches I would
> suggest you do a kernel grep for kmemleak_* function calls as there may
> be explicit cases where allocated memory blocks are ignored from
> scanning (like the AGP aperture which is unmapped from the standard
> kernel linear mapping).

Thanks for the suggestion.  I'll do that.

> Alternatively, until you get this to work, just modify kmemleak to dump
> information it has about every object it scans via dump_object_info()
> called from scan_object(). The amount of information is quite large but
> at least you should see the last block that it fails to scan and maybe
> add a kmemleak_ignore() on the block allocation site.

I finally got access to a 64-bit lab system and there the backport seems
to be working just fine.  Since that's were I actually need it, life is
now much better.  :)

If I run into more issues I'll try using your ideas to work around the
issue.

Thanks,

Chris

      reply	other threads:[~2010-01-21 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 18:03 issues with kmemleak backport Chris Friesen
2010-01-19 21:01 ` Chris Friesen
2010-01-20 17:51   ` Chris Friesen
2010-01-20 22:58     ` Catalin Marinas
2010-01-21 15:34       ` Chris Friesen [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=4B58740F.7050400@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=catalin.marinas@arm.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