KVM: x86/mmu: comment on kvm_mmu_get_page's syncing of pages
authorSean Christopherson <seanjc@google.com>
Wed, 23 Jun 2021 16:49:19 +0000 (12:49 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:37 +0000 (18:00 -0400)
commit07dc4f35a44c8f85ba7262b56b70c3fcbc3b74fd
tree0fa0c309956294d85545dbe2ac6bf861d339679d
parent2640b0865395b6a31f76d6eca9937dec3e876ca3
KVM: x86/mmu: comment on kvm_mmu_get_page's syncing of pages

Explain the usage of sync_page() in kvm_mmu_get_page(), which is
subtle in how and why it differs from mmu_sync_children().

Signed-off-by: Sean Christopherson <seanjc@google.com>
[Split out of a different patch by Sean. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c