Commit:     02e4bac2a5b097e23d757bf2953740b3d51b7976
Parent:     b8487b924177385e3932f846f430b73ce8e69bba
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 17:00:11 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Mon Oct 15 17:00:11 2007 +0200

    sched: fix sched_fork()
    fix sched_fork(): large latencies at new task creation time because
    the ->vruntime was not fixed up cross-CPU, if the parent got migrated
    after the child's CPU got set up.
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]>
    Reviewed-by: Thomas Gleixner <[EMAIL PROTECTED]>
 kernel/sched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 744bd50..36484da 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1657,7 +1657,7 @@ void sched_fork(struct task_struct *p, int clone_flags)
 #ifdef CONFIG_SMP
        cpu = sched_balance_self(cpu, SD_BALANCE_FORK);
-       __set_task_cpu(p, cpu);
+       set_task_cpu(p, cpu);
         * Make sure we do not leak PI boosting priority to the child:
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

Reply via email to