Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Vincent Guittot
On 19 March 2014 12:59, Peter Zijlstra wrote: > On Tue, Mar 18, 2014 at 06:56:47PM +0100, Vincent Guittot wrote: > > >> @@ -5946,7 +5948,8 @@ static int sched_domains_curr_level; >> (SD_SHARE_CPUPOWER |\ >>SD_SHARE_PKG_RESOURCES | \ >>SD_NUMA |

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Vincent Guittot
On 19 March 2014 13:01, Peter Zijlstra wrote: > On Tue, Mar 18, 2014 at 06:56:47PM +0100, Vincent Guittot wrote: >> A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs >> in a sched_domain level can or not reach different power state. As an >> example, >> the flag should

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Vincent Guittot
On 19 March 2014 12:05, Preeti U Murthy wrote: > On 03/19/2014 03:22 PM, Vincent Guittot wrote: >> On 19 March 2014 07:21, Preeti U Murthy wrote: >>> Hi Vincent, >>> >>> On 03/18/2014 11:26 PM, Vincent Guittot wrote: A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of >>

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Peter Zijlstra
On Tue, Mar 18, 2014 at 06:56:47PM +0100, Vincent Guittot wrote: > A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs > in a sched_domain level can or not reach different power state. As an example, > the flag should be cleared at CPU level if groups of cores can be power

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Peter Zijlstra
On Tue, Mar 18, 2014 at 06:56:47PM +0100, Vincent Guittot wrote: > @@ -5946,7 +5948,8 @@ static int sched_domains_curr_level; > (SD_SHARE_CPUPOWER |\ >SD_SHARE_PKG_RESOURCES | \ >SD_NUMA | \ > - SD_ASYM_PACKING) > + SD_ASYM_PA

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Preeti U Murthy
On 03/19/2014 03:22 PM, Vincent Guittot wrote: > On 19 March 2014 07:21, Preeti U Murthy wrote: >> Hi Vincent, >> >> On 03/18/2014 11:26 PM, Vincent Guittot wrote: >>> A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs >>> in a sched_domain level can or not reach differen

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-19 Thread Vincent Guittot
On 19 March 2014 07:21, Preeti U Murthy wrote: > Hi Vincent, > > On 03/18/2014 11:26 PM, Vincent Guittot wrote: >> A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs >> in a sched_domain level can or not reach different power state. As an >> example, >> the flag should b

Re: [PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-18 Thread Preeti U Murthy
Hi Vincent, On 03/18/2014 11:26 PM, Vincent Guittot wrote: > A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs > in a sched_domain level can or not reach different power state. As an example, > the flag should be cleared at CPU level if groups of cores can be power gated

[PATCH v2 5/7] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-03-18 Thread Vincent Guittot
A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs in a sched_domain level can or not reach different power state. As an example, the flag should be cleared at CPU level if groups of cores can be power gated independently. This information can be used to add load balancing