aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched_fair.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 9f06094e5275..0c718857176f 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -489,6 +489,9 @@ update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
489{ 489{
490 unsigned long delta_fair; 490 unsigned long delta_fair;
491 491
492 if (unlikely(!se->wait_start_fair))
493 return;
494
492 delta_fair = (unsigned long)min((u64)(2*sysctl_sched_runtime_limit), 495 delta_fair = (unsigned long)min((u64)(2*sysctl_sched_runtime_limit),
493 (u64)(cfs_rq->fair_clock - se->wait_start_fair)); 496 (u64)(cfs_rq->fair_clock - se->wait_start_fair));
494 497