diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-06 10:12:51 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-04-30 08:17:08 (GMT) |
commit | 0691325b833c54ba379e9ab9e2efee6e4242445e (patch) | |
tree | d4c68c67248acaa56377679ab40e53515ffecb8e /kernel/sched | |
parent | 0f55d8d52915623f31ecbbef6cc84fd29bdd5fa5 (diff) | |
download | linux-fsl-qoriq-0691325b833c54ba379e9ab9e2efee6e4242445e.tar.xz |
sched-limit-nr-migrate.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched')
-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 3485672..b589aa1 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 |