Re: [PATCHv4 2/2] powerpc: implement arch_scale_smt_power for Power7

Peter Zijlstra
2010-02-23T16:30:49Z

On Tue, 2010-02-23 at 17:24 +0100, Peter Zijlstra wrote:
>
> busiest_cpu = group_first_cpu(sds->busiest);
> if (cpu_rq(this_cpu)->nr_running || this_cpu > busiest_cpu)
> return 0;

Hmm, we could change the bit in find_busiest_group() to:

if (idle == CPU_IDLE && check_asym_packing())

and skip the nr_running test..