Re: [PATCH v1 1/5] kvm,memory: Optimize dirty page collection for dirty ring

2022-03-23 Thread Chongyun Wu
Thank you very much for your review comments. on 3/23/2022 12:59 PM, Hyman Huang wrote: 在 2022/3/23 11:18, wuc...@chinatelecom.cn 写道: From: Chongyun Wu When log_sync_global of dirty ring is called, it will collect dirty pages on all cpus, including all dirty pages on memslot, so when memory

Re: [PATCH v1 1/5] kvm,memory: Optimize dirty page collection for dirty ring

2022-03-22 Thread Hyman Huang
在 2022/3/23 11:18, wuc...@chinatelecom.cn 写道: From: Chongyun Wu When log_sync_global of dirty ring is called, it will collect dirty pages on all cpus, including all dirty pages on memslot, so when memory_region_sync_dirty_bitmap collects dirty pages from KVM, this interface needs to be calle

[PATCH v1 1/5] kvm, memory: Optimize dirty page collection for dirty ring

2022-03-22 Thread wucy11
From: Chongyun Wu When log_sync_global of dirty ring is called, it will collect dirty pages on all cpus, including all dirty pages on memslot, so when memory_region_sync_dirty_bitmap collects dirty pages from KVM, this interface needs to be called once, instead of traversing every dirty page. Eac