Sorry for late.
>
> > @@ -161,6 +171,11 @@ int cache_insert(PageCache *cache, uint64_t addr,
> const uint8_t *pdata)
> > /* actual update of entry */
> > it = cache_get_by_addr(cache, addr);
> >
> > +if ((it->it_data != NULL) && (it->it_age +
> > +CACHED_PAGE_LIFETIME > cur
On 03/11/2014 06:53 AM, arei.gong...@huawei.com wrote:
> From: ChenLiang
>
> Avoid the hot pages being replaced by others to remarkable decrease cache
s/the hot/hot/
s/remarkable/remarkably/
> missing. The counter of updating dirty bitmap is used to indicate the cached
s/missing/misses/
> pag
wrote:
> From: ChenLiang
>
> Avoid the hot pages being replaced by others to remarkable decrease cache
> missing. The counter of updating dirty bitmap is used to indicate the cached
> page age.
>
> Signed-off-by: ChenLiang
> Signed-off-by: Gonglei
> /**
> * get_cached_data: Get the data ca
From: ChenLiang
Avoid the hot pages being replaced by others to remarkable decrease cache
missing. The counter of updating dirty bitmap is used to indicate the cached
page age.
Signed-off-by: ChenLiang
Signed-off-by: Gonglei
---
arch_init.c| 8 +---
include/migration/