26 lines
829 B
Diff
26 lines
829 B
Diff
Subject: sched-limit-nr-migrate.patch
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Mon, 06 Jun 2011 12:12:51 +0200
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
kernel/sched/core.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
Index: linux-stable/kernel/sched/core.c
|
|
===================================================================
|
|
--- linux-stable.orig/kernel/sched/core.c
|
|
+++ linux-stable/kernel/sched/core.c
|
|
@@ -263,7 +263,11 @@ late_initcall(sched_init_debug);
|
|
* 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
|
|
+const_debug unsigned int sysctl_sched_nr_migrate = 8;
|
|
+#endif
|
|
|
|
/*
|
|
* period over which we average the RT time consumption, measured
|