projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e127031
)
[PATCH] sched: allow larger granularity
author
Ingo Molnar
<mingo@elte.hu>
Wed, 11 Jul 2007 19:21:47 +0000
(21:21 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 17:10:08 +0000
(10:10 -0700)
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>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 2ab7fa8039aec6da14131d485f85b405ab228fb9..9088c2d97148806ae88ee3ba2ed82eff0d7fc4e2 100644
(file)
--- 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 = 10000000
0
;
sysctl_sched_granularity *= factor;
if (sysctl_sched_granularity > gran_limit)