summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-11 23:21:47 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-13 21:10:08 +0400
commita5968df8737eda477d9d1038f5428ebd4d0884e1 (patch)
tree59b8c15aa6a7dee6eb6ce5a9aa1e970b7a183f65 /kernel
parente127031f4f76dc367c5d2f9d883715730dd82f7d (diff)
downloadlinux-a5968df8737eda477d9d1038f5428ebd4d0884e1.tar.xz
[PATCH] sched: allow larger granularity
Allow granularity up to 100 msecs, instead of 10 msecs. (needed on larger boxes) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
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;
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)