Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69109
b: refs/heads/master
c: 8ca0e14
h: refs/heads/master
i:
  69107: 6c2573c
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Oct 15, 2007
1 parent 48cf422 commit 5141f85
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8
refs/heads/master: 8ca0e14ffb12c257de591571a9e96102acdb1c64
4 changes: 3 additions & 1 deletion trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,9 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
vruntime += sched_vslice_add(cfs_rq, se);

if (!initial) {
if (sched_feat(NEW_FAIR_SLEEPERS))
struct task_struct *p = container_of(se, struct task_struct, se);

if (sched_feat(NEW_FAIR_SLEEPERS) && p->policy != SCHED_BATCH)
vruntime -= sysctl_sched_latency;

vruntime = max_t(s64, vruntime, se->vruntime);
Expand Down

0 comments on commit 5141f85

Please sign in to comment.