Re: [PATCH v8 03/15] KVM: xen: mark guest pages dirty with the pfncache lock held

From: David Woodhouse
Date: Tue Nov 21 2023 - 16:50:21 EST


On Tue, 2023-11-21 at 18:02 +0000, Paul Durrant wrote:
> From: Paul Durrant <pdurrant@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Reviewed-by: David Woodhouse <dwmw@xxxxxxxxxxxx>

Attachment: smime.p7s
Description: S/MIME cryptographic signature