提交 e127031f 编写于 作者: M Mike Galbraith 提交者: Linus Torvalds

[PATCH] sched: fix prio_to_wmult[] for nice 1

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: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 4eb6bf6b
......@@ -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,
5244160, 6557201, 8196502, 10250518, 12782640,
16025997, 19976592, 24970740, 31350126, 39045157,
49367440, 61356675, 76695844, 95443717, 119304647,
148102320, 186737708, 238609294, 286331153,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册