projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb6bf6
)
[PATCH] sched: fix prio_to_wmult[] for nice 1
author
Mike Galbraith
<efault@gmx.de>
Wed, 11 Jul 2007 19:21:47 +0000
(21:21 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 17:09:02 +0000
(10:09 -0700)
There's a typo in the values in prio_to_wmult[] for nice level 1. While
it did not cause bad CPU distribution, but caused more rescheduling
between nice-0 and nice-1 tasks than necessary.
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 9fbced64bfee004e1275088bb22eb4ac848e1733..2ab7fa8039aec6da14131d485f85b405ab228fb9 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-751,7
+751,7
@@
static const u32 prio_to_wmult[40] = {
184467, 230589, 288233, 360285, 450347,
562979, 703746, 879575, 1099582, 1374389,
717986, 2147483, 2684354, 3355443, 4194304,
- 244160, 6557201, 8196502, 10250518, 12782640,
+
5
244160, 6557201, 8196502, 10250518, 12782640,
16025997, 19976592, 24970740, 31350126, 39045157,
49367440, 61356675, 76695844, 95443717, 119304647,
148102320, 186737708, 238609294, 286331153,