genirq: Disable irqfixup/poll on PREEMPT_RT.
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Jul 2009 13:29:57 +0000 (08:29 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 19 Sep 2021 21:01:15 +0000 (23:01 +0200)
commitb70e13885cf63b6f99cbd9a1dbb6beaa2622bf68
treef3146f15e306ee95f6c4b3f9c9c9f758b25931ee
parente739f98b4b11337a4e3865364b8922a9e5ad32b6
genirq: Disable irqfixup/poll on PREEMPT_RT.

The support for misrouted IRQs is used on old / legacy systems and is
not feasible on PREEMPT_RT.

Polling for interrupts reduces the overall system performance.
Additionally the interrupt latency depends on the polling frequency and
delays are not desired for real time workloads.

Disable IRQ polling on PREEMPT_RT and let the user know that it is not
enabled. The compiler will optimize the real fixup/poll code out.

[ bigeasy: Update changelog and switch to IS_ENABLED() ]

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210917223841.c6j6jcaffojrnot3@linutronix.de
kernel/irq/spurious.c