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

Peter Zijlstra peterz at infradead.org
Wed Feb 24 03:30:26 EST 2010


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



More information about the Linuxppc-dev mailing list