Re: [PATCH] ARM: KVM: fix unbalanced get_cpu() in access_dcsw

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

 



On Fri, Apr 12, 2013 at 06:13:48PM +0100, Marc Zyngier wrote:
> In the very unlikely event where a guest would be foolish enough to
> *read* from a write-only cache maintainance register, we end up
> with preemption disabled, due to a misplaced get_cpu().
> 
> Just move the "is_write" test outside of the critical section.
> 
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>

I found it second time around!

  Reported-by: Will Deacon <will.deacon@xxxxxxx>

Will
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux