Re: [PATCH] KVM: Convert intx_mask_lock to spin lock

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

 



On Wed, Mar 14, 2012 at 11:02:11AM +0100, Jan Kiszka wrote:
> As kvm_notify_acked_irq calls kvm_assigned_dev_ack_irq under
> rcu_read_lock, we cannot use a mutex in the latter function. Switch to a
> spin lock to address this.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
> ---
>  include/linux/kvm_host.h |    2 +-
>  virt/kvm/assigned-dev.c  |   14 +++++++-------
>  2 files changed, 8 insertions(+), 8 deletions(-)

Applied, thanks.

--
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