All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Yang <richard.weiyang@huawei.com>
To: Dario Faggioli <dario.faggioli@citrix.com>
Cc: xuquan8@huawei.com, xen-devel@lists.xen.org,
	liuxiaojian6@huawei.com, george.dunlap@eu.citrix.com,
	Wei Yang <richard.weiyang@gmail.com>,
	mengxu@cis.upenn.edu, Wei Yang <richard.weiyang@huawei.com>
Subject: Re: [Help] Trigger Watchdog when adding an IPI in	vcpu_wake
Date: Sat, 24 Sep 2016 15:26:52 +0800	[thread overview]
Message-ID: <20160924072652.GB31810@linux-gk3p> (raw)
In-Reply-To: <1474538116.4393.371.camel@citrix.com>

On Thu, Sep 22, 2016 at 11:55:16AM +0200, Dario Faggioli wrote:
>On Thu, 2016-09-22 at 11:12 +0200, Dario Faggioli wrote:
>> _Almost_ correct. However, the problem is more that vcpu_wake() can
>> happen in response to an IRQ, and when you grab a spinlock in IRQ
>> context, you need to disable IRQs.
>> 
>> There is a good explanation of why, here:
>> 
>Ah, sorry, link is missing! Here:
>
>https://www.kernel.org/doc/Documentation/locking/spinlocks.txt
>
>Read the "Lesson 3: spinlocks revisited." section.
>

Oh, you have a link here ... let me digest it.

>Dario
>-- 
><<This happens because I choose it to happen!>> (Raistlin Majere)
>-----------------------------------------------------------------
>Dario Faggioli, Ph.D, http://about.me/dario.faggioli
>Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


-- 
Richard Yang\nHelp you, Help me

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-09-24  7:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160913085437.GA14514@linux-gk3p>
2016-09-13 11:30 ` [Help] Trigger Watchdog when adding an IPI in vcpu_wake Dario Faggioli
2016-09-14 10:44   ` Wei Yang
2016-09-14 16:18     ` Dario Faggioli
2016-09-16  2:49       ` Wei Yang
2016-09-16 16:07         ` Dario Faggioli
2016-09-17  0:31           ` Wei Yang
2016-09-19 23:24             ` Dario Faggioli
2016-09-20  3:51               ` Wei Yang
2016-09-17  3:30     ` Wei Yang
2016-09-22  9:12       ` Dario Faggioli
2016-09-22  9:55         ` Dario Faggioli
2016-09-24  7:26           ` Wei Yang [this message]
2016-09-24  3:39         ` Wei Yang
2016-09-26 10:18           ` Dario Faggioli
2016-09-28  3:44             ` Wei Yang
2016-09-18  4:03   ` Wei Yang
2016-09-22  9:47     ` Dario Faggioli

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=20160924072652.GB31810@linux-gk3p \
    --to=richard.weiyang@huawei.com \
    --cc=dario.faggioli@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=liuxiaojian6@huawei.com \
    --cc=mengxu@cis.upenn.edu \
    --cc=richard.weiyang@gmail.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xuquan8@huawei.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.