mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Bisected: Massive memory leak in dm-snapshot in 3.1 development introduced
@ 2011-10-23  9:21 Michael Leun
  2011-10-23  9:52 ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Leun @ 2011-10-23  9:21 UTC (permalink / raw)
  To: LKML, dm-devel, Linus Torvalds, Mikulas Patocka

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-25 17:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-23  9:21 Bisected: Massive memory leak in dm-snapshot in 3.1 development introduced Michael Leun
2011-10-23  9:52 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®