From: Johannes Berg <johannes@sipsolutions.net>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: kmemleak - percpu reliability?
Date: Wed, 27 Apr 2016 11:40:29 +0200 [thread overview]
Message-ID: <1461750029.3723.5.camel@sipsolutions.net> (raw)
In-Reply-To: <CAHkRjk431i7Pit_Q0VugQrw6TUXkwghkwGp1W1tUTszD87eL0A@mail.gmail.com> (sfid-20160427_113901_899678_20B2C838)
On Wed, 2016-04-27 at 10:38 +0100, Catalin Marinas wrote:
>
> Kmemleak tries to reduce the false positives to the detriment of more
> false negatives.
:)
> One way it does this is by having to scan the memory
> twice and no changes to the leaked object (crc32) should have
> happened. It also scans the task stacks which is another source of
> false/stale pointers. The leak may eventually be reported but you
> can't really be precise on when this would be.
>
Ok, fair enough. I don't remember if I asked it to scan twice, but
anyway, I did convince myself separately (with prints) that it was
leaked :)
Thanks for the explanation!
johannes
prev parent reply other threads:[~2016-04-27 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 9:00 kmemleak - percpu reliability? Johannes Berg
2016-04-27 9:38 ` Catalin Marinas
2016-04-27 9:40 ` Johannes Berg [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=1461750029.3723.5.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--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