Re: [PATCH V2] PPC: Fix race in mtmsr paravirt implementation

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

 



On 10/13/2011 11:47 AM, Bharat Bhushan wrote:
The current implementation of mtmsr and mtmsrd are racy in that it does:

   * check (int_pending == 0)
   --->  host sets int_pending = 1<---
   * write shared page
   * done

while instead we should check for int_pending after the shared page is written.

Signed-off-by: Bharat Bhushan<bharat.bhushan@xxxxxxxxxxxxx>

Thanks, applied to kvm-ppc-next.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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