aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2010-07-09 09:19:54 -0400
committerIngo Molnar <mingo@elte.hu>2010-07-17 06:02:08 -0400
commit5343bdb8fd076f16edc9d113a9e35e2a1d1f4966 (patch)
tree567ef046a11d203331bbb9372b2e29f817fbf2fe /kernel/sched_fair.c
parent2ec57d448b2e8fcfba539a46701b43f14f037f17 (diff)
sched: Update rq->clock for nohz balanced cpus
Suresh spotted that we don't update the rq->clock in the nohz load-balancer path. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1278626014.2834.74.camel@sbs-t61.sc.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index b4da534f4b8c..e44a591531a1 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -3596,6 +3596,7 @@ static void nohz_idle_balance(int this_cpu, enum cpu_idle_type idle)
3596 } 3596 }
3597 3597
3598 raw_spin_lock_irq(&this_rq->lock); 3598 raw_spin_lock_irq(&this_rq->lock);
3599 update_rq_clock(this_rq);
3599 update_cpu_load(this_rq); 3600 update_cpu_load(this_rq);
3600 raw_spin_unlock_irq(&this_rq->lock); 3601 raw_spin_unlock_irq(&this_rq->lock);
3601 3602