sched: fix high wake up latencies with FAIR_USER_SCHED
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / sched_fair.c
index 72e25c7..cf958ae 100644 (file)
@@ -520,7 +520,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))
+               if (sched_feat(NEW_FAIR_SLEEPERS))
                        vruntime -= sysctl_sched_latency;
 
                /* ensure we never gain time by being placed backwards. */