Skip to content

Commit 77f85e6

Browse files
committed
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]
1 parent 47a06d3 commit 77f85e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/cpuhotplug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static bool migrate_one_irq(struct irq_desc *desc)
7979
brokeaff = true;
8080
}
8181

82-
err = irq_do_set_affinity(d, affinity, false);
82+
err = irq_do_set_affinity(d, affinity, true);
8383
if (err) {
8484
pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n",
8585
d->irq, err);

0 commit comments

Comments
 (0)