summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-21 16:07:37 +0200
committerClark Williams <williams@redhat.com>2012-04-10 16:40:20 -0500
commit2d98691a32f0f0f510efcc56c4b0e9ced006d6bf (patch)
tree6cdf26a22b1646a741a52c4ba23f58bb43db2481
parent611db60241a915a1de57bb03e270adc04d6929e4 (diff)
genirq: Disable random call on preempt-rt
The random call introduces high latencies and is almost unused. Disable it for -rt. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/irq/handle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index bdb180325551..982793c367dc 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -172,8 +172,11 @@ handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action)
action = action->next;
} while (action);
+#ifndef CONFIG_PREEMPT_RT_FULL
+ /* FIXME: Can we unbreak that ? */
if (random & IRQF_SAMPLE_RANDOM)
add_interrupt_randomness(irq);
+#endif
if (!noirqdebug)
note_interrupt(irq, desc, retval);