commit | 71883a62fcd6c70639fa12cda733378b4d997409 | [log] [tgz] |
---|---|---|
author | Lan Tianyu <Tianyu.Lan@microsoft.com> | Thu Dec 06 21:21:13 2018 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 21 11:28:43 2018 +0100 |
tree | b8fb75933370682a7ff7c6bbc82c49dcbf57a1dd | |
parent | 3cc5ea94de5f71dff0d3353f610e729308583e6b [diff] |
KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range() Originally, flush tlb is done by slot_handle_level_range(). This patch moves the flush directly to kvm_zap_gfn_range() when range flush is available, so that only the requested range can be flushed. Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>