aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_fair.c')
-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 ce79eb0f0660..72f202a8be96 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -652,7 +652,7 @@ set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
652 * least twice that of our own weight (i.e. dont track it 652 * least twice that of our own weight (i.e. dont track it
653 * when there are only lesser-weight tasks around): 653 * when there are only lesser-weight tasks around):
654 */ 654 */
655 if (rq_of(cfs_rq)->ls.load.weight >= 2*se->load.weight) { 655 if (rq_of(cfs_rq)->load.weight >= 2*se->load.weight) {
656 se->slice_max = max(se->slice_max, 656 se->slice_max = max(se->slice_max,
657 se->sum_exec_runtime - se->prev_sum_exec_runtime); 657 se->sum_exec_runtime - se->prev_sum_exec_runtime);
658 } 658 }