From: Michael Leun <ml@newton.leun.net>
To: LKML <linux-kernel@vger.kernel.org>,
dm-devel@redhat.com,
Linus Torvalds <torvalds@linux-foundation.org>,
Mikulas Patocka <mpatocka@redhat.com>
Subject: Bisected: Massive memory leak in dm-snapshot in 3.1 development introduced
Date: Sun, 23 Oct 2011 11:21:40 +0200 [thread overview]
Message-ID: <20111023112140.37fd8b3d@xenia.leun.net> (raw)
Hi,
How to reproduce:
lvcreate -L30G -n testsnap vg1 # of course substitute VG as appropriate
dd if=/dev/zero of=/dev/vg1/testsnap bs=2M # to make things clear
lvcreate -L15G -s /dev/vg1/test -n testsnap
dd if=/dev/zero of=/dev/vg1/testsnap bs=2M &
watch free
I noticed roughly 1GB memory vanishing from free / -/+ buffers/cache
per 2GB copied.
Bisecting yielded a6e50b409d3f9e0833e69c3c9cca822e8fa4adbb, reverting
that from git master cures the memory leak
--
MfG,
Michael Leun
next reply other threads:[~2011-10-23 9:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-23 9:21 Michael Leun [this message]
2011-10-23 9:52 ` Bisected: Massive memory leak in dm-snapshot in 3.1 development introduced Linus Torvalds
2011-10-23 13:44 ` Alasdair G Kergon
2011-10-23 14:30 ` Michael Leun
2011-10-23 20:19 ` [dm-devel] " Alasdair G Kergon
2011-10-25 17:45 ` [PATCH] check for mempool memory leaks Mikulas Patocka
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=20111023112140.37fd8b3d@xenia.leun.net \
--to=ml@newton.leun.net \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpatocka@redhat.com \
--cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.