Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-18 Thread Peter Zijlstra
On Mon, Apr 17, 2017 at 12:34:05PM -0300, Lauro Venancio wrote: > This patch ensures tree things: > > 1) different instances of the same group share the same > sched_group_capacity instance. > > 2) instances of different groups don't share the same > sched_group_capacity instance. > > 3) the

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-18 Thread Peter Zijlstra
On Mon, Apr 17, 2017 at 12:34:05PM -0300, Lauro Venancio wrote: > This patch ensures tree things: > > 1) different instances of the same group share the same > sched_group_capacity instance. > > 2) instances of different groups don't share the same > sched_group_capacity instance. > > 3) the

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-17 Thread Lauro Venancio
On 04/14/2017 01:49 PM, Peter Zijlstra wrote: > On Thu, Apr 13, 2017 at 10:56:09AM -0300, Lauro Ramos Venancio wrote: >> Currently, the group balance cpu is the groups's first CPU. But with >> overlapping groups, two different groups can have the same first CPU. >> >> This patch uses the group

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-17 Thread Lauro Venancio
On 04/14/2017 01:49 PM, Peter Zijlstra wrote: > On Thu, Apr 13, 2017 at 10:56:09AM -0300, Lauro Ramos Venancio wrote: >> Currently, the group balance cpu is the groups's first CPU. But with >> overlapping groups, two different groups can have the same first CPU. >> >> This patch uses the group

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-14 Thread Peter Zijlstra
On Thu, Apr 13, 2017 at 10:56:09AM -0300, Lauro Ramos Venancio wrote: > Currently, the group balance cpu is the groups's first CPU. But with > overlapping groups, two different groups can have the same first CPU. > > This patch uses the group mask to mark all the CPUs that have a > particular

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-14 Thread Peter Zijlstra
On Thu, Apr 13, 2017 at 10:56:09AM -0300, Lauro Ramos Venancio wrote: > Currently, the group balance cpu is the groups's first CPU. But with > overlapping groups, two different groups can have the same first CPU. > > This patch uses the group mask to mark all the CPUs that have a > particular

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-13 Thread Rik van Riel
On Thu, 2017-04-13 at 10:56 -0300, Lauro Ramos Venancio wrote: > Currently, the group balance cpu is the groups's first CPU. But with > overlapping groups, two different groups can have the same first CPU. > > This patch uses the group mask to mark all the CPUs that have a > particular group as

Re: [RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-13 Thread Rik van Riel
On Thu, 2017-04-13 at 10:56 -0300, Lauro Ramos Venancio wrote: > Currently, the group balance cpu is the groups's first CPU. But with > overlapping groups, two different groups can have the same first CPU. > > This patch uses the group mask to mark all the CPUs that have a > particular group as

[RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-13 Thread Lauro Ramos Venancio
Currently, the group balance cpu is the groups's first CPU. But with overlapping groups, two different groups can have the same first CPU. This patch uses the group mask to mark all the CPUs that have a particular group as its main sched group. The group balance cpu is the first group CPU that is

[RFC 3/3] sched/topology: Different sched groups must not have the same balance cpu

2017-04-13 Thread Lauro Ramos Venancio
Currently, the group balance cpu is the groups's first CPU. But with overlapping groups, two different groups can have the same first CPU. This patch uses the group mask to mark all the CPUs that have a particular group as its main sched group. The group balance cpu is the first group CPU that is