Skip to content

Memory fixes

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Fix memtools/vgmerge.c tools/vgsplit.c+8 -41 reply
1/3Fix mem+0 -00 replies
2/3Set our own in/out bufferslib/commands/toolcontext.c+8 -01 reply
2/3Set our own in/out buffers+0 -00 replies
2/3Set our own in/out buffers+0 -00 replies
3/3Valgrind updateslib/mm/memlock.c libdm/mm/pool-fast.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Memory fixes

Originaly I wanted to post here new patch for dm_pool_splice to join to dm_pool list together. However there is fairly simplier fix for our memory reference problem - just fixing the vgmem release order. (I may provide dm_pool_splice patch - as it could be seen as 'better' way of handling this memory problem - but as for now it only related to vgmerge and vgsplite - it's easier this way.)

Second patch is addressing our maps mismatching - it's rather workaround, but for now quite sufficient.

The last patch is for those who want to play with valgrind and lvm2. There we need to disable memory size checks.

Zdenek Kabelac (3):
Fix mem
Set our own in/out buffers
Valgrind updates

 lib/commands/toolcontext.c |    8 ++++++++
 lib/mm/memlock.c           |    3 +++
 libdm/mm/pool-fast.c       |   11 ++++-------
 tools/vgmerge.c            |    6 ++++--
 tools/vgsplit.c            |    6 ++++--
 5 files changed, 23 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.4.1