From: Ingo Molnar Date: Wed, 11 Jul 2007 19:21:47 +0000 (+0200) Subject: [PATCH] sched: allow larger granularity X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5968df8737eda477d9d1038f5428ebd4d0884e1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [PATCH] sched: allow larger granularity Allow granularity up to 100 msecs, instead of 10 msecs. (needed on larger boxes) Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds --- diff --git a/kernel/sched.c b/kernel/sched.c index 2ab7fa8039ae..9088c2d97148 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -4778,7 +4778,7 @@ cpumask_t nohz_cpu_mask = CPU_MASK_NONE; static inline void sched_init_granularity(void) { unsigned int factor = 1 + ilog2(num_online_cpus()); - const unsigned long gran_limit = 10000000; + const unsigned long gran_limit = 100000000; sysctl_sched_granularity *= factor; if (sysctl_sched_granularity > gran_limit)