Re: [PATCH v3 2/3] memory: introduce DirtyRateDirtyPages and util function

2021-07-15 Thread Peter Xu
On Thu, Jul 15, 2021 at 11:51:32PM +0800, huang...@chinatelecom.cn wrote: > From: Hyman Huang(黄勇) > > introduce DirtyRateDirtyPages and use it to the dirty pages > along with memory_global_dirty_log_sync. > introduce cpu_physical_memory_dirtyrate_reset_protect to > clear dirty bitmap within slot

[PATCH v3 2/3] memory: introduce DirtyRateDirtyPages and util function

2021-07-15 Thread huangy81
From: Hyman Huang(黄勇) introduce DirtyRateDirtyPages and use it to the dirty pages along with memory_global_dirty_log_sync. introduce cpu_physical_memory_dirtyrate_reset_protect to clear dirty bitmap within slot in kvm Signed-off-by: Hyman Huang(黄勇) --- include/exec/ram_addr.h | 19