diff options
| author | Peter Lieven | 2013-02-25 18:12:03 +0100 |
|---|---|---|
| committer | Juan Quintela | 2013-03-11 13:32:03 +0100 |
| commit | 32a1c08b60a8ac0e63b54a5793a26b5e32b36618 (patch) | |
| tree | a3f661821a22ae465dd00a8a19fd0b20c7c060ee /include | |
| parent | Fix cache_resize to keep old entry age (diff) | |
| download | qemu-32a1c08b60a8ac0e63b54a5793a26b5e32b36618.tar.gz qemu-32a1c08b60a8ac0e63b54a5793a26b5e32b36618.tar.xz qemu-32a1c08b60a8ac0e63b54a5793a26b5e32b36618.zip | |
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 <pl@kamp.de>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
