Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e127031f4f76dc367c5d2f9d883715730dd82f7d
Commit:     e127031f4f76dc367c5d2f9d883715730dd82f7d
Parent:     4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4
Author:     Mike Galbraith <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 11 21:21:47 2007 +0200
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jul 13 10:09:02 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 kernel/sched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 9fbced6..2ab7fa8 100644
--- 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,
+       5244160, 6557201, 8196502, 10250518, 12782640,
        16025997, 19976592, 24970740, 31350126, 39045157,
        49367440, 61356675, 76695844, 95443717, 119304647,
        148102320, 186737708, 238609294, 286331153,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to