Messages in this thread | | | Date | Fri, 27 Jan 2012 14:40:12 +0530 | From | Vaidyanathan Srinivasan <> | Subject | Re: [RFC PATCH v1 2/2] sched: fix group_capacity for thread level consolidation |
| |
* Peter Zijlstra <a.p.zijlstra@chello.nl> [2012-01-25 16:38:06]:
> On Mon, 2012-01-16 at 21:52 +0530, Vaidyanathan Srinivasan wrote: > > + /* > > + * If power savings balance is set at this domain, then > > + * make capacity equal to number of hardware threads to > > + * accommodate more tasks until capacity is reached. > > + */ > > + else if (sd->flags & SD_POWERSAVINGS_BALANCE) > > + sgs.group_capacity = > > + cpumask_weight(sched_group_cpus(sg)); > > sg->group_weight perhaps?
Yes, I will correct this. sg->group_weight is updated to the correct value on sched_domain rebuild in init_sched_groups_power().
--Vaidy
| |