Re: [PATCH] KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2021-10-23 at 19:47 +0000, Woodhouse, David wrote:
> 
> +       __put_user(state_entry_time, user_times);
> +       smp_wmb();
> +
> + out:

Needs a mark_page_dirty_in_slot() here, which I knew at the time I
*started* typing, but forgot by the time I got to the end. I'll include
that in a v2 but wait for any other feedback before I post it.

> +       if (atomic)
> +               pagefault_enable();

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux