lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081219141400.314023db.akpm@linux-foundation.org>
Date:	Fri, 19 Dec 2008 14:14:00 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	penberg@...helsinki.fi, catalin.marinas@....com,
	linux-kernel@...r.kernel.org, paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH 01/14] kmemleak: Add the base support

On Fri, 19 Dec 2008 23:02:55 +0100
Ingo Molnar <mingo@...e.hu> wrote:

> 
> * Pekka Enberg <penberg@...helsinki.fi> wrote:
> 
> > On Fri, Dec 19, 2008 at 8:13 PM, Catalin Marinas
> > <catalin.marinas@....com> wrote:
> > > This patch adds the base support for the kernel memory leak
> > > detector. It traces the memory allocation/freeing in a way similar to
> > > the Boehm's conservative garbage collector, the difference being that
> > > the unreferenced objects are not freed but only shown in
> > > /sys/kernel/debug/kmemleak. Enabling this feature introduces an
> > > overhead to memory allocations.
> > >
> > > Signed-off-by: Catalin Marinas <catalin.marinas@....com>
> > > Cc: Ingo Molnar <mingo@...e.hu>
> > > Cc: Pekka Enberg <penberg@...helsinki.fi>
> > > Cc: Andrew Morton <akpm@...ux-foundation.org>
> > > Reviewed-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> > 
> > Looks good to me. I have only reviewed this lightly but all my major 
> > concerns have been addressed so feel free to add my:
> > 
> > Acked-by: Pekka Enberg <penberg@...helsinki.fi>
> 
> Andrew, do you have any principial objections against having this in 

Nope.

> v2.6.29?

That might be a bit harder.  I'll take a look.

> This dragged on for a long time, and i think the debug output is useful 
> and it tells us something that we have no other tool for at the moment to 
> figure out. We can tell stuck tasks, stuck files and other stuck resources 
> easily - we can even see fast slab leaks, but we cannot really tell slow, 
> long-term slab leaks apart from regular slab prints, and we cannot 
> identify the source of them. The false positive rate of kmemleak has 
> decreased substantially as well, over the earlier design.

Sounds good, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ