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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 568e922255c6..9f93a5c127e8 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -476,8 +476,8 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
476 int wakeup, int set_curr) 476 int wakeup, int set_curr)
477{ 477{
478 /* 478 /*
479 * In case of the 'current'. 479 * In case of the 'current'.
480 */ 480 */
481 if (unlikely(set_curr)) { 481 if (unlikely(set_curr)) {
482 update_stats_curr_start(cfs_rq, se); 482 update_stats_curr_start(cfs_rq, se);
483 cfs_rq->curr = se; 483 cfs_rq->curr = se;
@@ -992,9 +992,9 @@ static void task_new_fair(struct rq *rq, struct task_struct *p)
992 if (sysctl_sched_child_runs_first && 992 if (sysctl_sched_child_runs_first &&
993 curr->vruntime < se->vruntime) { 993 curr->vruntime < se->vruntime) {
994 /* 994 /*
995 * Upon rescheduling, sched_class::put_prev_task() will place 995 * Upon rescheduling, sched_class::put_prev_task() will place
996 * 'current' within the tree based on its new key value. 996 * 'current' within the tree based on its new key value.
997 */ 997 */
998 swap(curr->vruntime, se->vruntime); 998 swap(curr->vruntime, se->vruntime);
999 } 999 }
1000 1000