diff options
author | Paul Durrant <[email protected]> | 2024-02-15 15:28:58 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-02-20 07:37:41 -0800 |
commit | 4438355ec6e165f73357203e0792079dec9e3059 (patch) | |
tree | 2e903ae58b7636480b70ca6d9e83a4ccdf5929cf /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 41496fffc0e1276e1c41344ef38513d5353da3ca (diff) |
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 <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions