Re: [RFC PATCH v1 2/2] sched: fix group_capacity for thread levelconsolidation

From: Peter Zijlstra
Date: Wed Jan 25 2012 - 10:38:17 EST


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?

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