]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86/mmu: Reword a misleading comment about checking gpte_changed()
authorSean Christopherson <seanjc@google.com>
Fri, 2 Aug 2024 20:39:00 +0000 (13:39 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 30 Aug 2024 02:05:55 +0000 (19:05 -0700)
commit1dc9cc1c4c230fbc6bf6322f150d4b81f712cfb9
tree7ec2b1f680dff853eb628a2c805774a50fc7dbab
parent7d67b03e6fff3934913a38674f269f55964bdd65
KVM: x86/mmu: Reword a misleading comment about checking gpte_changed()

Rewrite the comment in FNAME(fetch) to explain why KVM needs to check that
the gPTE is still fresh before continuing the shadow page walk, even if
KVM already has a linked shadow page for the gPTE in question.

No functional change intended.

Link: https://lore.kernel.org/r/20240802203900.348808-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/paging_tmpl.h