summaryrefslogtreecommitdiff
path: root/patches/sched-limit-nr-migrate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sched-limit-nr-migrate.patch')
-rw-r--r--patches/sched-limit-nr-migrate.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/sched-limit-nr-migrate.patch b/patches/sched-limit-nr-migrate.patch
index 0f21cd5606da..ba1947d2aff5 100644
--- a/patches/sched-limit-nr-migrate.patch
+++ b/patches/sched-limit-nr-migrate.patch
@@ -12,15 +12,15 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -42,7 +42,11 @@ const_debug unsigned int sysctl_sched_fe
+@@ -44,7 +44,11 @@ const_debug unsigned int sysctl_sched_fe
* Number of tasks to iterate in a single balance run.
* Limited because this is done with IRQs disabled.
*/
-+#ifndef CONFIG_PREEMPT_RT_FULL
- const_debug unsigned int sysctl_sched_nr_migrate = 32;
-+#else
++#ifdef CONFIG_PREEMPT_RT_FULL
+const_debug unsigned int sysctl_sched_nr_migrate = 8;
++#else
+ const_debug unsigned int sysctl_sched_nr_migrate = 32;
+#endif
/*
- * period over which we average the RT time consumption, measured
+ * period over which we measure -rt task CPU usage in us.