From: Catalin Marinas <catalin.marinas@arm.com>
To: Peter Teoh <htmldeveloper@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: kmemleak errors
Date: Thu, 15 Oct 2009 11:39:30 +0100 [thread overview]
Message-ID: <tnxfx9l9c0t.fsf@pc1117.cambridge.arm.com> (raw)
In-Reply-To: <804dabb00910142027r7f771ee4n2855fef7dcffbacc@mail.gmail.com> (Peter Teoh's message of "Thu\, 15 Oct 2009 11\:27\:34 +0800")
Peter Teoh <htmldeveloper@gmail.com> wrote:
> cat /sys/kernel/debug/kmemleak gave:
>
> unreferenced object 0xffff8800bd864000 (size 40):
> comm "swapper", pid 0, jiffies 4294937296
> hex dump (first 32 bytes):
> 00 00 00 00 00 00 00 00 70 40 86 bd 00 88 ff ff ........p@......
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> backtrace:
> [<ffffffff81ef55b6>] kmemleak_alloc+0x73/0xd8
> [<ffffffff81154d66>] kmem_cache_alloc+0xf7/0x15a
> [<ffffffff82b2b88a>] debug_objects_mem_init+0x71/0x234
> [<ffffffff82afef26>] start_kernel+0x356/0x414
> [<ffffffff82afe2a9>] x86_64_start_reservations+0xb9/0xd4
> [<ffffffff82afe3b2>] x86_64_start_kernel+0xee/0x109
> [<ffffffffffffffff>] 0xffffffffffffffff
If run
echo scan > /sys/kernel/debug/kmemleak
a few times, do they disappear? I think the debug_objects reports are
false positives but couldn't figure why kmemleak cannot track
them. I'll look again at them and maybe add an annotation
(kmemleak_not_leak).
--
Catalin
next prev parent reply other threads:[~2009-10-15 10:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-15 3:27 Peter Teoh
2009-10-15 10:39 ` Catalin Marinas [this message]
2009-10-16 5:39 ` Peter Teoh
2009-10-16 9:48 ` Catalin Marinas
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=tnxfx9l9c0t.fsf@pc1117.cambridge.arm.com \
--to=catalin.marinas@arm.com \
--cc=htmldeveloper@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
all inboxes | Powered by JetHome®