[PATCH2] [linux-lvm] vgchange -a memory consumption

Daniel Stodden daniel.stodden at citrix.com
Wed Jul 16 20:39:57 UTC 2008


Hi.

On Wed, 2008-07-16 at 18:42 +0100, Alasdair G Kergon wrote:
> Quick way for starters, is allocate a pointless object in the pool
> then free eveything back to that point each time round the loop.
> 
> But proper thing is to track down into the library and find
> which routines are the ones where the pool can be freed at
> the end and isn't being.
> 
> IOW where are most of those allocations happening?
> 
> Alasdair

Okay. Unless we really find a better way to do it, here is the suggested marker version.

As far as I can tell so far, this works equally well.

Best,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-vgchange-mem.diff
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20080716/2a99ce65/attachment.bin>


More information about the linux-lvm mailing list