Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69041
b: refs/heads/master
c: 119fe5e
h: refs/heads/master
i:
  69039: bfae9e9
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Oct 15, 2007
1 parent 5cff737 commit 7987a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02e0431a3db554019b816936b597d618256b705d
refs/heads/master: 119fe5e06800afc197781ebc8c2d8ca7d03497c8
3 changes: 3 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,9 @@ 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;

__set_task_cpu(p, new_cpu);
}
Expand Down

0 comments on commit 7987a88

Please sign in to comment.