aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-23 09:18:02 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-23 09:18:02 -0400
commit505c0efd58031923ae01deac16d896607cafa70e (patch)
treecf7255575b341ed7ee2d3683a0378b7c3b167455 /kernel
parentf549da848eca595abca14ebc5e1bf00fd72aa53d (diff)
sched: tweak the sched_runtime_limit tunable
Michael Gerdau reported reniced task CPU usage weirdnesses. Such symptoms can be caused by limit underruns so double the sched_runtime_limit. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index a4b22d93e00d..96e9b82246d2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4923,7 +4923,7 @@ static inline void sched_init_granularity(void)
4923 if (sysctl_sched_granularity > gran_limit) 4923 if (sysctl_sched_granularity > gran_limit)
4924 sysctl_sched_granularity = gran_limit; 4924 sysctl_sched_granularity = gran_limit;
4925 4925
4926 sysctl_sched_runtime_limit = sysctl_sched_granularity * 4; 4926 sysctl_sched_runtime_limit = sysctl_sched_granularity * 8;
4927 sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2; 4927 sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2;
4928} 4928}
4929 4929