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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 8e534a05e3ed..81ccb811afb4 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3075,6 +3075,12 @@ static void yield_task_fair(struct rq *rq)
3075 * Update run-time statistics of the 'current'. 3075 * Update run-time statistics of the 'current'.
3076 */ 3076 */
3077 update_curr(cfs_rq); 3077 update_curr(cfs_rq);
3078 /*
3079 * Tell update_rq_clock() that we've just updated,
3080 * so we don't do microscopic update in schedule()
3081 * and double the fastpath cost.
3082 */
3083 rq->skip_clock_update = 1;
3078 } 3084 }
3079 3085
3080 set_skip_buddy(se); 3086 set_skip_buddy(se);