Re: [PATCH] sched: Call update_group_power only for local_group

From: Peter Zijlstra
Date: Thu Jul 08 2010 - 13:49:22 EST


On Thu, 2010-07-08 at 10:45 -0700, Suresh Siddha wrote:
>
> @@ -2456,6 +2454,9 @@ static inline void update_sd_lb_stats(struct sched_domain *sd, int this_cpu,
> init_sd_power_savings_stats(sd, sds, idle);
> load_idx = get_sd_load_idx(sd, idle);
>
> + if (this_cpu == smp_processor_id())
> + update_group_power(sd, this_cpu);
> +
> do {
> int local_group;

Which will break for nohz_idle_balance..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/