Skip to content

Commit 50f1399

Browse files
minipli-osssean-jc
authored andcommitted
KVM: x86/mmu: Fix comment typo
Fix a small comment typo in make_spte(). Signed-off-by: Mathias Krause <minipli@grsecurity.net> Link: https://lore.kernel.org/r/20230322013731.102955-6-minipli@grsecurity.net Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 2fdcc1b commit 50f1399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kvm/mmu/spte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
164164
/*
165165
* For simplicity, enforce the NX huge page mitigation even if not
166166
* strictly necessary. KVM could ignore the mitigation if paging is
167-
* disabled in the guest, as the guest doesn't have an page tables to
167+
* disabled in the guest, as the guest doesn't have any page tables to
168168
* abuse. But to safely ignore the mitigation, KVM would have to
169169
* ensure a new MMU is loaded (or all shadow pages zapped) when CR0.PG
170170
* is toggled on, and that's a net negative for performance when TDP is

0 commit comments

Comments
 (0)