Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel: revert "sched: fix fair sleepers"
This commit is contained in:
commit
a985aabe4d
1 changed files with 2 additions and 4 deletions
|
@ -510,10 +510,8 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
|
||||||
|
|
||||||
if (!initial) {
|
if (!initial) {
|
||||||
/* sleeps upto a single latency don't count. */
|
/* sleeps upto a single latency don't count. */
|
||||||
if (sched_feat(NEW_FAIR_SLEEPERS)) {
|
if (sched_feat(NEW_FAIR_SLEEPERS))
|
||||||
vruntime -= calc_delta_fair(sysctl_sched_latency,
|
vruntime -= sysctl_sched_latency;
|
||||||
&cfs_rq->load);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ensure we never gain time by being placed backwards. */
|
/* ensure we never gain time by being placed backwards. */
|
||||||
vruntime = max_vruntime(se->vruntime, vruntime);
|
vruntime = max_vruntime(se->vruntime, vruntime);
|
||||||
|
|
Loading…
Add table
Reference in a new issue