All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: hvm_set_callback_irq_level() deadlock?
Date: Wed, 07 Jan 2009 21:58:58 +0900	[thread overview]
Message-ID: <4964A712.30407@jp.fujitsu.com> (raw)
In-Reply-To: <C58A34F8.20D09%keir.fraser@eu.citrix.com>

Keir Fraser wrote:
> On 07/01/2009 10:22, "Akio Takebe" <takebe_akio@jp.fujitsu.com> wrote:
> 
>>> Doesn't vioapic_irq_positive_edge() clearly expect to be called with that
>>> lock held?
>> I concern about that vioapic_deliver() calls vcpu_kick(). If vcpu0 has the
>> lock and
>> vcpu1 cannot get lock and spin then vcpu0 sleep in another function,
>> it may cause deadlock because vioapic_irq_positive_edge() may call
>> vcpu_kick().
>> For example, the following function is OK?
> 
> I still don't see the problem. You'll have to spell out a concrete example,
> explaining where the two CPUs would be spinning and what state they're in
> (i.e, why they are depending on each other, and why no progress can be
> made).
> 
I thought more. Sorry, I was wrong.

Best Regards,

Akio Takebe

      reply	other threads:[~2009-01-07 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-07  9:41 hvm_set_callback_irq_level() deadlock? Akio Takebe
2009-01-07  9:59 ` Keir Fraser
2009-01-07 10:22   ` Akio Takebe
2009-01-07 10:31     ` Keir Fraser
2009-01-07 12:58       ` Akio Takebe [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=4964A712.30407@jp.fujitsu.com \
    --to=takebe_akio@jp.fujitsu.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.