aboutsummaryrefslogtreecommitdiffstats
path: root/features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch')
-rw-r--r--features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
new file mode 100644
index 00000000..f99140d4
--- /dev/null
+++ b/features/rt/sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
@@ -0,0 +1,34 @@
+From bcd494d279a6e818f31d1073dd429d3c0301940d Mon Sep 17 00:00:00 2001
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Mon, 18 Jul 2011 17:03:52 +0200
+Subject: [PATCH 095/191] sched: Disable CONFIG_RT_GROUP_SCHED on RT
+
+Carsten reported problems when running:
+
+ taskset 01 chrt -f 1 sleep 1
+
+from within rc.local on a F15 machine. The task stays running and
+never gets on the run queue because some of the run queues have
+rt_throttled=1 which does not go away. Works nice from a ssh login
+shell. Disabling CONFIG_RT_GROUP_SCHED solves that as well.
+
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+---
+ init/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/init/Kconfig b/init/Kconfig
+index d51c16a3f355..37686a22a769 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -973,6 +973,7 @@ config CFS_BANDWIDTH
+ config RT_GROUP_SCHED
+ bool "Group scheduling for SCHED_RR/FIFO"
+ depends on CGROUP_SCHED
++ depends on !PREEMPT_RT
+ default n
+ help
+ This feature lets you explicitly allocate real CPU bandwidth
+--
+2.19.1
+