diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
4778 | static inline void sched_init_granularity(void) | 4778 | static inline void sched_init_granularity(void) |
4779 | { | 4779 | { |
4780 | unsigned int factor = 1 + ilog2(num_online_cpus()); | 4780 | unsigned int factor = 1 + ilog2(num_online_cpus()); |
4781 | const unsigned long gran_limit = 10000000; | 4781 | const unsigned long gran_limit = 100000000; |
4782 | 4782 | ||
4783 | sysctl_sched_granularity *= factor; | 4783 | sysctl_sched_granularity *= factor; |
4784 | if (sysctl_sched_granularity > gran_limit) | 4784 | if (sysctl_sched_granularity > gran_limit) |