lkml.org 
[lkml]   [2023]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 03/15] KVM: xen: mark guest pages dirty with the pfncache lock held
From
Date
On Tue, 2023-11-21 at 18:02 +0000, Paul Durrant wrote:
> From: Paul Durrant <pdurrant@amazon.com>
>
> 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>
[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2023-11-21 22:50    [W:0.195 / U:2.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site