Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=50c46637aa894f904e2fb39086a3d7732f68bd50
Commit:     50c46637aa894f904e2fb39086a3d7732f68bd50
Parent:     a3ce8ea66ae9379235334a989ed78a1ea518b0b3
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Sat Aug 25 22:17:19 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Sat Aug 25 22:17:19 2007 +0200

    sched: s/sched_latency/sched_min_granularity
    
    runtime limit and wakeup granularity used to be a function of
    granularity and that was incorrect changed to sched_latency.
    
    Fix this to make wakeup granularity a function of min-granularity,
    and the runtime limit equal to latency.
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 kernel/sched.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index a40ab65..9fe473a 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4921,8 +4921,8 @@ static inline void sched_init_granularity(void)
        if (sysctl_sched_latency > limit)
                sysctl_sched_latency = limit;
 
-       sysctl_sched_runtime_limit = sysctl_sched_latency * 5;
-       sysctl_sched_wakeup_granularity = sysctl_sched_latency / 2;
+       sysctl_sched_runtime_limit = sysctl_sched_latency;
+       sysctl_sched_wakeup_granularity = sysctl_sched_min_granularity / 2;
 }
 
 #ifdef CONFIG_SMP
-
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