]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
sched: tweak the sched_runtime_limit tunable
authorIngo Molnar <mingo@elte.hu>
Thu, 23 Aug 2007 13:18:02 +0000 (15:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Aug 2007 13:18:02 +0000 (15:18 +0200)
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>
kernel/sched.c

index a4b22d93e00d653e7f55c5b9c4664e0721e051ad..96e9b82246d2b24ec17aec763d0943a2d05d5f86 100644 (file)
@@ -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;
 }