aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched_fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 18fd17172eb6..67084936b602 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -747,7 +747,7 @@ pick_next(struct cfs_rq *cfs_rq, struct sched_entity *se)
747 struct rq *rq = rq_of(cfs_rq); 747 struct rq *rq = rq_of(cfs_rq);
748 u64 pair_slice = rq->clock - cfs_rq->pair_start; 748 u64 pair_slice = rq->clock - cfs_rq->pair_start;
749 749
750 if (!cfs_rq->next || pair_slice > sched_slice(cfs_rq, cfs_rq->next)) { 750 if (!cfs_rq->next || pair_slice > sysctl_sched_min_granularity) {
751 cfs_rq->pair_start = rq->clock; 751 cfs_rq->pair_start = rq->clock;
752 return se; 752 return se;
753 } 753 }