|
@@ -520,7 +520,7 @@ 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) && entity_is_task(se))
|
|
|
|
|
|
+ if (sched_feat(NEW_FAIR_SLEEPERS))
|
|
vruntime -= sysctl_sched_latency;
|
|
vruntime -= sysctl_sched_latency;
|
|
|
|
|
|
/* ensure we never gain time by being placed backwards. */
|
|
/* ensure we never gain time by being placed backwards. */
|