| From f650036e04bf62e4fc4807b2b57f12d044881c08 Mon Sep 17 00:00:00 2001 |
| From: Ingo Molnar <mingo@elte.hu> |
| Date: Fri, 3 Jul 2009 08:29:35 -0500 |
| Subject: [PATCH] genirq: Enable the config switch for forced threading |
| |
| commit 7d836495d944ab225c939c7d3f3c0eca6a37f409 in tip. |
| |
| Signed-off-by: Ingo Molnar <mingo@elte.hu> |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt |
| index 2ff1834..7c20f45 100644 |
| --- a/kernel/Kconfig.preempt |
| +++ b/kernel/Kconfig.preempt |
| @@ -67,3 +67,22 @@ config PREEMPT_SOFTIRQS |
| sofirq-preempt=0/1 boot-time option. |
| |
| Say N if you are unsure. |
| + |
| +config PREEMPT_HARDIRQS |
| + bool "Thread Hardirqs" |
| + default n |
| + depends on GENERIC_HARDIRQS_NO__DO_IRQ |
| + select PREEMPT_SOFTIRQS |
| + help |
| + This option reduces the latency of the kernel by 'threading' |
| + hardirqs. This means that all (or selected) hardirqs will run |
| + in their own kernel thread context. While this helps latency, |
| + this feature can also reduce performance. |
| + |
| + The threading of hardirqs can also be controlled via the |
| + /proc/sys/kernel/hardirq_preemption runtime flag and the |
| + hardirq-preempt=0/1 boot-time option. Per-irq threading can |
| + be enabled/disable via the /proc/irq/<IRQ>/<handler>/threaded |
| + runtime flags. |
| + |
| + Say N if you are unsure. |
| -- |
| 1.7.1.1 |
| |