KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched
stable inclusion from stable-5.10.30 commit b4a3a0d279249bb68fb4f4079ed4db8b0e633213 bugzilla: 51791 -------------------------------- [ Upstream commit e139a34e ] The flushing and non-flushing variants of tdp_mmu_iter_cond_resched have almost identical implementations. Merge the two functions and add a flush parameter. Signed-off-by: NBen Gardon <bgardon@google.com> Message-Id: <20210202185734.1680553-12-bgardon@google.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: N Weilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录