xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Wei Yang <richard.weiyang@gmail.com>,
	Wei Yang <richard.weiyang@huawei.com>
Cc: george.dunlap@eu.citrix.com, xuquan8@huawei.com,
	mengxu@cis.upenn.edu, liuxiaojian6@huawei.com,
	xen-devel@lists.xen.org
Subject: Re: [Help] Trigger Watchdog when adding an IPI in vcpu_wake
Date: Thu, 22 Sep 2016 11:55:16 +0200	[thread overview]
Message-ID: <1474538116.4393.371.camel@citrix.com> (raw)
In-Reply-To: <1474535535.4393.339.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

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.

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)

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

  reply	other threads:[~2016-09-22  9:55 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 [this message]
2016-09-24  7:26           ` Wei Yang
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=1474538116.4393.371.camel@citrix.com \
    --to=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=richard.weiyang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).