[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120127091012.GA8897@dirshya.in.ibm.com>
Date: Fri, 27 Jan 2012 14:40:12 +0530
From: Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Vincent Guittot <vincent.guittot@...aro.org>,
Indan Zupancic <indan@....nu>,
Youquan Song <youquan.song@...el.com>,
Ingo Molnar <mingo@...e.hu>,
Arjan van de Ven <arjan@...ux.intel.com>,
Suresh Siddha <suresh.b.siddha@...el.com>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH v1 2/2] sched: fix group_capacity for thread level
consolidation
* Peter Zijlstra <a.p.zijlstra@...llo.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists