]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq: Remove cpumask availability check on kthread affinity setting
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 21 Nov 2025 14:35:00 +0000 (15:35 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Nov 2025 08:26:18 +0000 (09:26 +0100)
commit3de5e46e50abc01a1cee7e12b657e083fc5ed638
treedc215bbb347f8b412fd5dfedfcf696d40727ff49
parent801afdfbfcd90ff62a4b2469bbda1d958f7a5353
genirq: Remove cpumask availability check on kthread affinity setting

Failing to allocate the affinity mask of an interrupt descriptor fails the
whole descriptor initialization. It is then guaranteed that the cpumask is
always available whenever the related interrupt objects are alive, such as
the kthread handler.

Therefore remove the superfluous check since it is merely a historical
leftover. Get rid also of the comments above it that are obsolete and
useless.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20251121143500.42111-4-frederic@kernel.org
kernel/irq/manage.c