]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit555eb002ecf1a89dc4c98d409b027699e1826ccd
tree0fa0c309956294d85545dbe2ac6bf861d339679d
parent6cb551f1c0ab83ead1fd6bb5fb9b5d2a369f41e7
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