]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm: Update the comment about asynchronous page fault in exc_page_fault()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 2 Oct 2020 15:43:13 +0000 (17:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 21:36:31 +0000 (17:36 -0400)
commit0ec635666e950b6eabed3a70d5be40eb616f62b5
treee95ebfb755227d3e56daec78da2d3acbb109fa60
parent0ecc88249bc2d0e95fe030a3952d92ea8ef29b88
x86/kvm: Update the comment about asynchronous page fault in exc_page_fault()

KVM was switched to interrupt-based mechanism for 'page ready' event
delivery in Linux-5.8 (see commit 21188666e384 ("KVM: x86: interrupt based
APF 'page ready' event delivery")) and #PF (ab)use for 'page ready' event
delivery was removed. Linux guest switched to this new mechanism
exclusively in 5.9 (see commit e92c13130345 ("KVM: x86: Switch KVM guest to
using interrupts for page ready APF delivery")) so it is not possible to
get #PF for a 'page ready' event even when the guest is running on top
of an older KVM (APF mechanism won't be enabled). Update the comment in
exc_page_fault() to reflect the new reality.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20201002154313.1505327-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/mm/fault.c