Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75058
b: refs/heads/master
c: 6cbf1c1
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Dec 18, 2007
1 parent ec97972 commit 3ddeb9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 2bacec8c318ca0418c0ee9ac662ee44207765dd4
refs/heads/master: 6cbf1c126cf6a727287d61b122fde00a8b827bfe
3 changes: 1 addition & 2 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)

if (!initial) {
/* sleeps upto a single latency don't count. */
if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se) &&
task_of(se)->policy != SCHED_BATCH)
if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se))
vruntime -= sysctl_sched_latency;

/* ensure we never gain time by being placed backwards. */
Expand Down

0 comments on commit 3ddeb9e

Please sign in to comment.