diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-06 10:12:51 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:09 (GMT) |
commit | 85c522deb39a50e15271194e16eb80f5fe76ac51 (patch) | |
tree | f773e7c482cd15adb66f22f517518be3961f2ab8 | |
parent | 0a1feb80217e70570ad262944432999c915ef89c (diff) | |
download | linux-fsl-qoriq-85c522deb39a50e15271194e16eb80f5fe76ac51.tar.xz |
sched-limit-nr-migrate.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/sched/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 1f35ad6..1553d27 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -272,7 +272,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 |