From: Ingo Molnar Date: Thu, 23 Aug 2007 13:18:02 +0000 (+0200) Subject: sched: tweak the sched_runtime_limit tunable X-Git-Tag: v2.6.23-rc4~24^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505c0efd58031923ae01deac16d896607cafa70e;p=linux-2.6 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 a4b22d93e0..96e9b82246 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; }