From: Ingo Molnar Date: Thu, 23 Aug 2007 13:18:02 +0000 (+0200) Subject: sched: tweak the sched_runtime_limit tunable X-Git-Tag: MMI-PSA29.97-13-9~40658^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=505c0efd58031923ae01deac16d896607cafa70e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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) if (sysctl_sched_granularity > gran_limit) sysctl_sched_granularity = gran_limit; - sysctl_sched_runtime_limit = sysctl_sched_granularity * 4; + sysctl_sched_runtime_limit = sysctl_sched_granularity * 8; sysctl_sched_wakeup_granularity = sysctl_sched_granularity / 2; }