« Previous | Next » 

Revision 32a1c08b

ID32a1c08b60a8ac0e63b54a5793a26b5e32b36618

Added by Peter Lieven about 11 years ago

page_cache: fix memory leak

XBZRLE encoded migration introduced a MRU page cache
meachnism. Unfortunately, cached items where never freed in
case of a collision in the page cache on cache_insert().

This lead to out of memory conditions during XBZRLE migration
if the page cache was small and there where a lot of collisions
in the cache.

Signed-off-by: Peter Lieven <>
Signed-off-by: Orit Wasserman <>

Reviewed-by: Peter Maydell <>
Signed-off-by: Juan Quintela <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences