diff options
author | Mike Galbraith <efault@gmx.de> | 2007-07-11 15:21:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-13 13:09:02 -0400 |
commit | e127031f4f76dc367c5d2f9d883715730dd82f7d (patch) | |
tree | 0617840dfa144c56c9c011475d27ba015806d28f /kernel/sched.c | |
parent | 4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4 (diff) |
[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: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sched.c')
-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 9fbced64bfee..2ab7fa8039ae 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -751,7 +751,7 @@ static const u32 prio_to_wmult[40] = { | |||
751 | 184467, 230589, 288233, 360285, 450347, | 751 | 184467, 230589, 288233, 360285, 450347, |
752 | 562979, 703746, 879575, 1099582, 1374389, | 752 | 562979, 703746, 879575, 1099582, 1374389, |
753 | 717986, 2147483, 2684354, 3355443, 4194304, | 753 | 717986, 2147483, 2684354, 3355443, 4194304, |
754 | 244160, 6557201, 8196502, 10250518, 12782640, | 754 | 5244160, 6557201, 8196502, 10250518, 12782640, |
755 | 16025997, 19976592, 24970740, 31350126, 39045157, | 755 | 16025997, 19976592, 24970740, 31350126, 39045157, |
756 | 49367440, 61356675, 76695844, 95443717, 119304647, | 756 | 49367440, 61356675, 76695844, 95443717, 119304647, |
757 | 148102320, 186737708, 238609294, 286331153, | 757 | 148102320, 186737708, 238609294, 286331153, |