]> Git Repo - qemu.git/commitdiff
migratiom: Remove max_item_age parameter
authorJuan Quintela <[email protected]>
Fri, 6 Oct 2017 16:07:42 +0000 (18:07 +0200)
committerJuan Quintela <[email protected]>
Mon, 23 Oct 2017 16:03:22 +0000 (18:03 +0200)
It was not used at all since commit:

27af7d6ea5015e5ef1f7985eab94a8a218267a2b

which replaced its use by the dirty sync count.

Signed-off-by: Juan Quintela <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
migration/page_cache.c

index ba984c48582bff3fb0591e97fba150bd84428a48..381e555ddb16f363557e5138c49d187ccdef94b7 100644 (file)
@@ -41,7 +41,6 @@ struct PageCache {
     CacheItem *page_cache;
     unsigned int page_size;
     int64_t max_num_items;
-    uint64_t max_item_age;
     int64_t num_items;
 };
 
@@ -69,7 +68,6 @@ PageCache *cache_init(int64_t num_pages, unsigned int page_size)
     }
     cache->page_size = page_size;
     cache->num_items = 0;
-    cache->max_item_age = 0;
     cache->max_num_items = num_pages;
 
     DPRINTF("Setting cache buckets to %" PRId64 "\n", cache->max_num_items);
This page took 0.02618 seconds and 4 git commands to generate.