diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-06 12:12:51 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:36 -0600 |
commit | 03a3ef2a7ae0dc733a4a8273c6cdb1f72de62da5 (patch) | |
tree | 07eb500babc0467b9bf396a94ffff15ce49df589 | |
parent | 9dfc6d9ed139157e9957f037945a970b530419f7 (diff) |
sched-limit-nr-migrate.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index c47e7a6f3091..6e2bf9e29ca5 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -942,7 +942,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 |