genirq: Update affinity of secondary threads
authorJohn Keeping <john@metanate.com>
Thu, 6 Apr 2023 18:08:57 +0000 (19:08 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 15 Apr 2023 08:17:16 +0000 (10:17 +0200)
commit803235982b8c086184d04798d9079d236f352f88
tree2887a4b98a563571a42d833c890591610736a2c3
parentf4bf3ca2e5cba655824b6e0893a98dfb33ed24e5
genirq: Update affinity of secondary threads

For interrupts with secondary threads, the affinity is applied when the
thread is created but if the interrupts affinity is changed later only
the primary thread is updated.

Update the secondary thread's affinity as well to keep all the interrupts
activity on the assigned CPUs.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230406180857.588682-1-john@metanate.com
kernel/irq/manage.c