[PULL 03/17] migration/ram: Optimize ram_save_host_page()

2021-05-13 Thread Dr. David Alan Gilbert (git)
From: Kunkun Jiang Starting from pss->page, ram_save_host_page() will check every page and send the dirty pages up to the end of the current host page or the boundary of used_length of the block. If the host page size is a huge page, the step "check" will take a lot of time. It will improve

[PULL 03/17] migration/ram: Optimize ram_save_host_page()

2021-05-11 Thread Dr. David Alan Gilbert (git)
From: Kunkun Jiang Starting from pss->page, ram_save_host_page() will check every page and send the dirty pages up to the end of the current host page or the boundary of used_length of the block. If the host page size is a huge page, the step "check" will take a lot of time. It will improve