linux/debian/patches/features/all/rt/0097-genirq-Disable-random-...

32 lines
894 B
Diff

From 648e61fb6deff5e0e38e4205a71d16872181a82a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 21 Jul 2009 16:07:37 +0200
Subject: [PATCH 097/278] 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>
---
kernel/irq/handle.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 10e0772..a768885 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -156,7 +156,10 @@ 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 ? */
add_interrupt_randomness(irq, flags);
+#endif
if (!noirqdebug)
note_interrupt(irq, desc, retval);
--
1.7.10