Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5343bdb8 authored by Suresh Siddha's avatar Suresh Siddha Committed by Ingo Molnar
Browse files

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: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1278626014.2834.74.camel@sbs-t61.sc.intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2ec57d44
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3596,6 +3596,7 @@ static void nohz_idle_balance(int this_cpu, enum cpu_idle_type idle)
		}

		raw_spin_lock_irq(&this_rq->lock);
		update_rq_clock(this_rq);
		update_cpu_load(this_rq);
		raw_spin_unlock_irq(&this_rq->lock);