Re: [PATCHv4 2/2] powerpc: implement arch_scale_smt_power forPower7

From: Peter Zijlstra
Date: Tue Feb 23 2010 - 11:30:53 EST


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..

--
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/