Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155511
b: refs/heads/master
c: d07387b
h: refs/heads/master
i:
  155509: dfabcb3
  155507: b825c65
  155503: c3947f4
v: v3
  • Loading branch information
Paul Turner authored and Ingo Molnar committed Jul 11, 2009
1 parent cf90e79 commit 83b103d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c20b08e3986c2dbfa6df1e880bf4f7159994d199
refs/heads/master: d07387b490b1c43bfcb9f3900faf96f2dafb2630
3 changes: 2 additions & 1 deletion trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,8 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
* all of which have the same weight.
*/
if (sched_feat(NORMALIZED_SLEEPER) &&
task_of(se)->policy != SCHED_IDLE)
(!entity_is_task(se) ||
task_of(se)->policy != SCHED_IDLE))
thresh = calc_delta_fair(thresh, se);

vruntime -= thresh;
Expand Down

0 comments on commit 83b103d

Please sign in to comment.