|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [tip:x86/irq] x86: Skip migrating IRQF_PER_CPU irqs in fixup
To: |
linux-tip-commits@xxxxxxxxxxxxxxx |
Subject: |
[Xen-devel] [tip:x86/irq] x86: Skip migrating IRQF_PER_CPU irqs in fixup_irqs() |
From: |
"tip-bot for Tian, Kevin" <kevin.tian@xxxxxxxxx> |
Date: |
Thu, 19 May 2011 12:55:06 GMT |
Cc: |
kevin.tian@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian.Campbell@xxxxxxxxxx, fengzhe.zhang@xxxxxxxxx, JBeulich@xxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, tglx@xxxxxxxxxxxxx |
Delivery-date: |
Thu, 19 May 2011 05:56:08 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
Git-commit-id: |
b87ba87ca26e226b2277a2d5613ed596f408e96d |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Reply-to: |
linux-kernel@xxxxxxxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, fengzhe.zhang@xxxxxxxxx, Ian.Campbell@xxxxxxxxxx, JBeulich@xxxxxxxxxx, kevin.tian@xxxxxxxxx, tglx@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx |
Robot-id: |
<tip-bot.git.kernel.org> |
Robot-unsubscribe: |
Contact <mailto:hpa@xxxxxxxxxx> to get blacklisted from these emails |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Commit-ID: b87ba87ca26e226b2277a2d5613ed596f408e96d
Gitweb: http://git.kernel.org/tip/b87ba87ca26e226b2277a2d5613ed596f408e96d
Author: Tian, Kevin <kevin.tian@xxxxxxxxx>
AuthorDate: Fri, 6 May 2011 14:43:36 +0800
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Thu, 19 May 2011 14:51:08 +0200
x86: Skip migrating IRQF_PER_CPU irqs in fixup_irqs()
IRQF_PER_CPU means that the irq cannot be moved away from a given
cpu. So it must not be migrated when the cpu goes offline.
[ tglx: massaged changelog ]
Signed-off-by: Fengzhe Zhang <fengzhe.zhang@xxxxxxxxx>
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Cc: Jan Beulich <JBeulich@xxxxxxxxxx>
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Link:
http://lkml.kernel.org/r/%3C625BA99ED14B2D499DC4E29D8138F1505C8ED7F7E2%40shsmsx502.ccr.corp.intel.com%3E
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/kernel/irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 1cb0b9f..544efe2 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -249,7 +249,7 @@ void fixup_irqs(void)
data = irq_desc_get_irq_data(desc);
affinity = data->affinity;
- if (!irq_has_action(irq) ||
+ if (!irq_has_action(irq) || irqd_is_per_cpu(data) ||
cpumask_subset(affinity, cpu_online_mask)) {
raw_spin_unlock(&desc->lock);
continue;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [tip:x86/irq] x86: Skip migrating IRQF_PER_CPU irqs in fixup_irqs(),
tip-bot for Tian, Kevin <=
|
|
|
|
|