mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
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 <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Keith Busch <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Christoph Hellwig <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
This commit is contained in:
1 parent
47a06d3a78
commit
77f85e66aa
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user