public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Avi Kivity <avi@redhat.com>, kvm <kvm@vger.kernel.org>
Subject: Re: [PATCH] KVM: Convert intx_mask_lock to spin lock
Date: Thu, 15 Mar 2012 20:59:28 -0300	[thread overview]
Message-ID: <20120315235928.GA12802@amt.cnet> (raw)
In-Reply-To: <4F606CA3.20603@siemens.com>

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@siemens.com>
> ---
>  include/linux/kvm_host.h |    2 +-
>  virt/kvm/assigned-dev.c  |   14 +++++++-------
>  2 files changed, 8 insertions(+), 8 deletions(-)

Applied, thanks.


      reply	other threads:[~2012-03-16  0:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 10:02 [PATCH] KVM: Convert intx_mask_lock to spin lock Jan Kiszka
2012-03-15 23:59 ` Marcelo Tosatti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120315235928.GA12802@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox