On 06/17/2013 06:58 PM, Paul Turner wrote:
>> > +               unsigned long tmp_rla;
>> > +               tmp_rla = tg->parent->cfs_rq[cpu]->runnable_load_avg + 1;
>> > +
>> >                 load = tg->parent->cfs_rq[cpu]->h_load;
>> > -               load *= tg->se[cpu]->load.weight;
>> > -               load /= tg->parent->cfs_rq[cpu]->load.weight + 1;
>> > +               load *= tg->se[cpu]->avg.load_avg_contrib;
>> > +               load /= tmp_rla;
> Why do we need the temporary here?
> 

you'r right. tmp_rla is not necessary here.

-- 
Thanks
    Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to