Statistics
| Branch: | Revision:

root / page_cache.c @ 34b5d2c6

History | View | Annotate | Download (5 kB)

# Date Author Comment
997aba8e 05/18/2013 03:35 pm Michael Tokarev

remove some double-includes

Some source files #include the same header more than
once for no good reason. Remove second #includes in
such cases.

Signed-off-by: Michael Tokarev <>

0db65d62 03/11/2013 02:32 pm Orit Wasserman

Fix page_cache leak in cache_resize

Signed-off-by: Orit Wasserman <>

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

a0ee2031 03/11/2013 02:32 pm Orit Wasserman

Fix cache_resize to keep old entry age

Instead of using cache_insert do the update itself

Signed-off-by: Orit Wasserman <>

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

32a1c08b 03/11/2013 02:32 pm Peter Lieven

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...

ee0b44aa 03/11/2013 02:32 pm Peter Lieven

page_cache: dup memory on insert

The page cache frees all data on finish, on resize and
if there is collision on insert. So it should be the caches
responsibility to dup the data that is stored in the cache.

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

caf71f86 12/19/2012 09:31 am Paolo Bonzini

migration: move include files to include/migration/

Signed-off-by: Paolo Bonzini <>

9fb26641 08/08/2012 02:51 pm Orit Wasserman

Add cache handling functions

Add MRU page cache mechanism.
The page are accessed by their address.

Signed-off-by: Benoit Hudzia <>
Signed-off-by: Petter Svard <>
Signed-off-by: Aidan Shribman <>...