archive mirror
 help / color / mirror / Atom feed
From: Catalin Marinas <>
Subject: Re: [PATCH v2] kmemleak: add oom=<disable|ignore> runtime parameter
Date: Mon, 24 Jul 2017 14:59:47 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, Jul 24, 2017 at 05:16:34PM +0800, wrote:
> When running memory stress tests, kmemleak could be easily disabled in
> function create_object as system is out of memory and kmemleak failed to
> alloc from object_cache. Since there's no way to enable kmemleak after
> it's off, simply ignore the object_cache alloc failure will just loses
> track of some memory objects, but could increase the usability of kmemleak
> under memory stress.

I wonder how usable kmemleak is when not recording all the allocated
objects. If some of these memory blocks contain references to others,
such referenced objects could be reported as leaks (basically increasing
the false positives rate).


To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to  For more info on Linux MM,
see: .
Don't email: <a href=mailto:""> </a>

  reply	other threads:[~2017-07-24 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  9:16 [PATCH v2] kmemleak: add oom=<disable|ignore> runtime parameter shuwang
2017-07-24 13:59 ` Catalin Marinas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-14 23:50 shuwang

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).