Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=28a1f6fa2f7ecec7e5da28b03a24abbecbd2e864
Commit:     28a1f6fa2f7ecec7e5da28b03a24abbecbd2e864
Parent:     67e12eac328b276dca7e61640632ed996ff1a93a
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 17:00:05 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Mon Oct 15 17:00:05 2007 +0200

    sched: remove SCHED_FEAT_SKIP_INITIAL
    
    remove SCHED_FEAT_SKIP_INITIAL - it was off by default and even
    when enabled it never made any real difference.
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Reviewed-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 kernel/sched.c      |    4 +---
 kernel/sched_fair.c |    7 -------
 2 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 5594e65..bf85b4b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -399,7 +399,6 @@ enum {
        SCHED_FEAT_SLEEPER_AVG          = 4,
        SCHED_FEAT_SLEEPER_LOAD_AVG     = 8,
        SCHED_FEAT_START_DEBIT          = 16,
-       SCHED_FEAT_SKIP_INITIAL         = 32,
 };
 
 const_debug unsigned int sysctl_sched_features =
@@ -407,8 +406,7 @@ const_debug unsigned int sysctl_sched_features =
                SCHED_FEAT_NEW_FAIR_SLEEPERS    *1 |
                SCHED_FEAT_SLEEPER_AVG          *0 |
                SCHED_FEAT_SLEEPER_LOAD_AVG     *1 |
-               SCHED_FEAT_START_DEBIT          *1 |
-               SCHED_FEAT_SKIP_INITIAL         *0;
+               SCHED_FEAT_START_DEBIT          *1;
 
 #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)
 
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index cc447fb..c8c6b05 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -1064,13 +1064,6 @@ static void task_new_fair(struct rq *rq, struct 
task_struct *p)
        place_entity(cfs_rq, se, 1);
 
        /*
-        * The first wait is dominated by the child-runs-first logic,
-        * so do not credit it with that waiting time yet:
-        */
-       if (sched_feat(SKIP_INITIAL))
-               se->wait_start_fair = 0;
-
-       /*
         * The statistical average of wait_runtime is about
         * -granularity/2, so initialize the task with that:
         */
-
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