Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Device-mapper Development (http://www.linux-archive.org/device-mapper-development/)
-   -   dm thin: fix memory leak of singleton bio-prison cell (http://www.linux-archive.org/device-mapper-development/658747-dm-thin-fix-memory-leak-singleton-bio-prison-cell.html)

Alasdair G Kergon 04-23-2012 10:02 AM

dm thin: fix memory leak of singleton bio-prison cell
 
On Mon, Apr 23, 2012 at 08:24:08AM +0100, Joe Thornber wrote:
> On Thu, Apr 12, 2012 at 06:34:34PM -0400, Mike Snitzer wrote:
> > Add missing mempool_free() to __cell_release_singleton().
> >
> > This is a pretty significant leak that will accumulate to over 2GB of
> > leaked memory just from running the full thinp-test-suite.
> When was this introduced? With agk's tweaks for 3.4?

I think it was here:
http://www.redhat.com/archives/dm-devel/2012-March/msg00080.html

Localised fix:
http://people.redhat.com/agk/patches/linux/editing/dm-thin-reinstate-missing-mempool_free-in-cell_release_singleton.patch

Alasdair

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


All times are GMT. The time now is 08:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.