Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69070
b: refs/heads/master
c: 785c29e
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Oct 15, 2007
1 parent 13cf3c9 commit dd34d13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8465e792e82c567b80358e38732164b770ed4b7f
refs/heads/master: 785c29ef9573d98b31493c9a68c3589449082108
4 changes: 1 addition & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1052,9 +1052,7 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu)
if (p->se.block_start)
p->se.block_start -= clock_offset;
#endif
if (likely(new_rq->cfs.min_vruntime))
p->se.vruntime -= old_rq->cfs.min_vruntime -
new_rq->cfs.min_vruntime;
p->se.vruntime -= old_rq->cfs.min_vruntime - new_rq->cfs.min_vruntime;

__set_task_cpu(p, new_cpu);
}
Expand Down

0 comments on commit dd34d13

Please sign in to comment.