Messages in this thread | | | Subject | Re: [PATCH] sched: Call update_group_power only for local_group | From | Peter Zijlstra <> | Date | Fri, 09 Jul 2010 15:17:47 +0200 |
| |
On Thu, 2010-07-08 at 14:53 -0700, Suresh Siddha wrote:
> Also, looking at all this, don't we need to do something like this in > the nohz load balance?
Yes, I think you're right, thanks!
> diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c > index 9910e1b..ae750e9 100644 > --- a/kernel/sched_fair.c > +++ b/kernel/sched_fair.c > @@ -3598,6 +3598,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);
| |