[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-77f85e66aa8be563ae5804eebf74a78ec6ef5555@git.kernel.org>
Date: Thu, 22 Jun 2017 09:57:12 -0700
From: tip-bot for Thomas Gleixner <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: axboe@...nel.dk, peterz@...radead.org, mingo@...nel.org,
hpa@...or.com, hch@....de, marc.zyngier@....com,
tglx@...utronix.de, keith.busch@...el.com,
linux-kernel@...r.kernel.org, mpe@...erman.id.au
Subject: [tip:irq/core] genirq/cpuhotplug: Set force affinity flag on
hotplug migration
Commit-ID: 77f85e66aa8be563ae5804eebf74a78ec6ef5555
Gitweb: http://git.kernel.org/tip/77f85e66aa8be563ae5804eebf74a78ec6ef5555
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Tue, 20 Jun 2017 01:37:31 +0200
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Thu, 22 Jun 2017 18:21:18 +0200
genirq/cpuhotplug: Set force affinity flag on hotplug migration
Set the force migration flag when migrating interrupts away from an
outgoing CPU.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Jens Axboe <axboe@...nel.dk>
Cc: Marc Zyngier <marc.zyngier@....com>
Cc: Michael Ellerman <mpe@...erman.id.au>
Cc: Keith Busch <keith.busch@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Christoph Hellwig <hch@....de>
Link: http://lkml.kernel.org/r/20170619235445.681874648@linutronix.de
---
kernel/irq/cpuhotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c
index 6f46587..e09cb91 100644
--- a/kernel/irq/cpuhotplug.c
+++ b/kernel/irq/cpuhotplug.c
@@ -79,7 +79,7 @@ static bool migrate_one_irq(struct irq_desc *desc)
brokeaff = true;
}
- err = irq_do_set_affinity(d, affinity, false);
+ err = irq_do_set_affinity(d, affinity, true);
if (err) {
pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n",
d->irq, err);
Powered by blists - more mailing lists