summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/mmu/mmu.c')
-rw-r--r--arch/x86/kvm/mmu/mmu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c
index e5cafa62e968..ba212342528e 100644
--- a/arch/x86/kvm/mmu/mmu.c
+++ b/arch/x86/kvm/mmu/mmu.c
@@ -4025,9 +4025,6 @@ static bool page_fault_handle_page_track(struct kvm_vcpu *vcpu,
break;
case CPC_TRACK_PAGES:
BUG_ON(modes[i] != KVM_PAGE_TRACK_EXEC);
- /* future readers: ik this part is messy, but handling
- * instructions on page boundaries has many cases
- * when optimizing for the common case (not on boundary) */
if (!inst_fetch || !fault->present)
return false;