sched: SCHED_IDLE weight change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, January 15, 2009 - 7:05 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cce7ad...
Commit:     cce7ade803699463ecc62a065ca522004f7ccb3d
Parent:     98a4826b99bc4bcc34c604b2fc4fcf4d771600ec
Author:     Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Thu Jan 15 14:53:37 2009 +0100
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Thu Jan 15 15:07:28 2009 +0100

    sched: SCHED_IDLE weight change
    
    Increase the SCHED_IDLE weight from 2 to 3, this gives much more stable
    vruntime numbers.
    
    time advanced in 100ms:
    
     weight=2
    
     64765.988352
     67012.881408
     88501.412352
    
     weight=3
    
     35496.181411
     34130.971298
     35497.411573
    
    Signed-off-by: Mike Galbraith <efault@gmx.de>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/sched.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index ed62d1c..6acfb3c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1323,8 +1323,8 @@ static inline void update_load_sub(struct load_weight *lw, unsigned long dec)
  * slice expiry etc.
  */
 
-#define WEIGHT_IDLEPRIO		2
-#define WMULT_IDLEPRIO		(1 << 31)
+#define WEIGHT_IDLEPRIO                3
+#define WMULT_IDLEPRIO         1431655765
 
 /*
  * Nice levels are multiplicative, with a gentle 10% change for every
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sched: SCHED_IDLE weight change, Linux Kernel Mailing ..., (Thu Jan 15, 7:05 pm)