aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index ba0556dc7c06..00ebd7686676 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -3215,8 +3215,10 @@ static void idle_balance(int this_cpu, struct rq *this_rq)
3215 interval = msecs_to_jiffies(sd->balance_interval); 3215 interval = msecs_to_jiffies(sd->balance_interval);
3216 if (time_after(next_balance, sd->last_balance + interval)) 3216 if (time_after(next_balance, sd->last_balance + interval))
3217 next_balance = sd->last_balance + interval; 3217 next_balance = sd->last_balance + interval;
3218 if (pulled_task) 3218 if (pulled_task) {
3219 this_rq->idle_stamp = 0;
3219 break; 3220 break;
3221 }
3220 } 3222 }
3221 3223
3222 raw_spin_lock(&this_rq->lock); 3224 raw_spin_lock(&this_rq->lock);