+7
−21
Loading
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB73UR -------------------------------- This patch: - The kvm_set_pfn_accessed() calls kvm_set_page_accessed(), and the kvm_release_pfn_clean() eventually calls kvm_set_page_accessed() too. So, remove the redundant call to kvm_set_pfn_accessed(). - Move the functionality of kvm_mmu_write_protect_pt_masked() into its caller, kvm_arch_mmu_enable_log_dirty_pt_masked(). This will be used to share some of the code. Signed-off-by:Yu Jiayi <yujiayi@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>