summaryrefslogtreecommitdiffstats
path: root/arch/x86/power
diff options
context:
space:
mode:
authorPaul Durrant <pdurrant@amazon.com>2024-02-15 16:28:58 +0100
committerSean Christopherson <seanjc@google.com>2024-02-20 16:37:41 +0100
commit4438355ec6e165f73357203e0792079dec9e3059 (patch)
tree2e903ae58b7636480b70ca6d9e83a4ccdf5929cf /arch/x86/power
parentKVM: pfncache: remove unnecessary exports (diff)
downloadlinux-4438355ec6e165f73357203e0792079dec9e3059.tar.xz
linux-4438355ec6e165f73357203e0792079dec9e3059.zip
KVM: x86/xen: mark guest pages dirty with the pfncache lock held
Sampling gpa and memslot from an unlocked pfncache may yield inconsistent values so, since there is no problem with calling mark_page_dirty_in_slot() with the pfncache lock held, relocate the calls in kvm_xen_update_runstate_guest() and kvm_xen_inject_pending_events() accordingly. Signed-off-by: Paul Durrant <pdurrant@amazon.com> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Link: https://lore.kernel.org/r/20240215152916.1158-4-paul@xen.org Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions