Skip to content
Commit 03787394 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86/mmu: Avoid unnecessary flush on eager page split



The TLB flush before installing the newly-populated lower level
page table is unnecessary if the lower-level page table maps
the huge page identically.  KVM knows it is if it did not reuse
an existing shadow page table, tell drop_large_spte() to skip
the flush in that case.

Extracted from a patch by David Matlack.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent ada51a9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment