[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130118011258.GE6768@liubo>
Date: Fri, 18 Jan 2013 09:12:59 +0800
From: Liu Bo <bo.li.liu@...cle.com>
To: Miao Xie <miaox@...fujitsu.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-btrfs@...r.kernel.org, zab@...bo.net, cl@...ux.com,
penberg@...nel.org
Subject: Re: [PATCH V2] mm/slab: add a leak decoder callback
On Wed, Jan 16, 2013 at 01:34:38PM +0800, Miao Xie wrote:
> On wed, 16 Jan 2013 11:03:13 +0800, Liu Bo wrote:
> > This adds a leak decoder callback so that slab destruction
> > can use to generate debugging output for the allocated objects.
> >
> > Callers like btrfs are using their own leak tracking which will
> > manage allocated objects in a list(or something else), this does
> > indeed the same thing as what slab does. So adding a callback
> > for leak tracking can avoid this as well as runtime overhead.
>
> If the slab is merged with the other one, this patch can work well?
Yes and no, so I'll disable merging slab in the next version :)
thanks,
liubo
--
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