[tip:sched/core] sched/topology: Move comment about asymmetric node setups

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: c20e1ea4b61c3d99a354d912f2d74822fd2a001d Gitweb: http://git.kernel.org/tip/c20e1ea4b61c3d99a354d912f2d74822fd2a001d Author: Lauro Ramos Venancio <lvena...@redhat.com> AuthorDate: Thu, 20 Apr 2017 16:51:42 -0300 Committer: Ingo Molnar <mi...@kernel.org> CommitDate:

[tip:sched/core] sched/topology: Move comment about asymmetric node setups

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: c20e1ea4b61c3d99a354d912f2d74822fd2a001d Gitweb: http://git.kernel.org/tip/c20e1ea4b61c3d99a354d912f2d74822fd2a001d Author: Lauro Ramos Venancio AuthorDate: Thu, 20 Apr 2017 16:51:42 -0300 Committer: Ingo Molnar CommitDate: Mon, 15 May 2017 10:15:27 +0200 sched/topology

[tip:sched/core] sched/topology: Optimize build_group_mask()

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: f32d782e31bf079f600dcec126ed117b0577e85c Gitweb: http://git.kernel.org/tip/f32d782e31bf079f600dcec126ed117b0577e85c Author: Lauro Ramos Venancio <lvena...@redhat.com> AuthorDate: Thu, 20 Apr 2017 16:51:40 -0300 Committer: Ingo Molnar <mi...@kernel.org> CommitDate:

[tip:sched/core] sched/topology: Optimize build_group_mask()

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: f32d782e31bf079f600dcec126ed117b0577e85c Gitweb: http://git.kernel.org/tip/f32d782e31bf079f600dcec126ed117b0577e85c Author: Lauro Ramos Venancio AuthorDate: Thu, 20 Apr 2017 16:51:40 -0300 Committer: Ingo Molnar CommitDate: Mon, 15 May 2017 10:15:26 +0200 sched/topology

[tip:sched/core] sched/topology: Refactor function build_overlap_sched_groups()

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: 8c0334697dc37eb3d6d7632304d3a3662248daac Gitweb: http://git.kernel.org/tip/8c0334697dc37eb3d6d7632304d3a3662248daac Author: Lauro Ramos Venancio <lvena...@redhat.com> AuthorDate: Thu, 13 Apr 2017 10:56:07 -0300 Committer: Ingo Molnar <mi...@kernel.org> CommitDate:

[tip:sched/core] sched/topology: Refactor function build_overlap_sched_groups()

2017-05-15 Thread tip-bot for Lauro Ramos Venancio
Commit-ID: 8c0334697dc37eb3d6d7632304d3a3662248daac Gitweb: http://git.kernel.org/tip/8c0334697dc37eb3d6d7632304d3a3662248daac Author: Lauro Ramos Venancio AuthorDate: Thu, 13 Apr 2017 10:56:07 -0300 Committer: Ingo Molnar CommitDate: Mon, 15 May 2017 10:15:22 +0200 sched/topology

[PATCH 3/4] sched/topology: move comment about asymmetric node setups

2017-04-20 Thread Lauro Ramos Venancio
Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index 55bbaf7..e77c93a 100644 --- a/kernel/sched/topology.c +++ b/

[PATCH 4/4] sched/topology: the group balance cpu must be a cpu where the group is installed

2017-04-20 Thread Lauro Ramos Venancio
) should_we_balance() in fair.c may never return true. This patch changes the group mask meaning to mark all the cpus where a group is installed. Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 40 ++-- 1 file changed, 34 inse

[PATCH 3/4] sched/topology: move comment about asymmetric node setups

2017-04-20 Thread Lauro Ramos Venancio
Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index 55bbaf7..e77c93a 100644 --- a/kernel/sched/topology.c +++ b/kernel/sched/topology.c

[PATCH 4/4] sched/topology: the group balance cpu must be a cpu where the group is installed

2017-04-20 Thread Lauro Ramos Venancio
) should_we_balance() in fair.c may never return true. This patch changes the group mask meaning to mark all the cpus where a group is installed. Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 40 ++-- 1 file changed, 34 insertions(+), 6 deletions

[PATCH 1/4] sched/topology: optimize build_group_mask()

2017-04-20 Thread Lauro Ramos Venancio
The group mask is always used in intersection with the group cpus. So, when building the group mask, we don't have to care about cpus that are not part of the group. Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 4 ++-- 1 file changed, 2 insertions

[PATCH 2/4] sched/topology: all instances of a sched group must use the same sched_group_capacity

2017-04-20 Thread Lauro Ramos Venancio
to find the group balance cpu when the mask is not available. Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c

[PATCH 1/4] sched/topology: optimize build_group_mask()

2017-04-20 Thread Lauro Ramos Venancio
The group mask is always used in intersection with the group cpus. So, when building the group mask, we don't have to care about cpus that are not part of the group. Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/4] sched/topology: all instances of a sched group must use the same sched_group_capacity

2017-04-20 Thread Lauro Ramos Venancio
to find the group balance cpu when the mask is not available. Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index f8b53b3..55bbaf7

[PATCH 0/4] sched/topology: fix overlap group capacity and balance cpu

2017-04-20 Thread Lauro Ramos Venancio
the same sched_group_capacity instance. 3) the group balance cpu must be one of the cpus where the group is installed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=sched/core [2] https://lkml.org/lkml/2017/4/13/355 Lauro Ramos Venancio (4): sched/topology

[PATCH 0/4] sched/topology: fix overlap group capacity and balance cpu

2017-04-20 Thread Lauro Ramos Venancio
the same sched_group_capacity instance. 3) the group balance cpu must be one of the cpus where the group is installed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=sched/core [2] https://lkml.org/lkml/2017/4/13/355 Lauro Ramos Venancio (4): sched/topology

[RFC 1/3] sched/topology: Refactor function build_overlap_sched_groups()

2017-04-13 Thread Lauro Ramos Venancio
Create functions build_group_from_child_sched_domain() and init_overlap_sched_group(). No functional change. Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 62 ++--- 1 file changed, 43 insertions(

[RFC 2/3] sched/topology: fix sched groups on NUMA machines with mesh topology

2017-04-13 Thread Lauro Ramos Venancio
[1] http://www.ece.ubc.ca/~sasha/papers/eurosys16-final29.pdf Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology

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

2017-04-13 Thread Lauro Ramos Venancio
that is also in the mask. Signed-off-by: Lauro Ramos Venancio <lvena...@redhat.com> --- kernel/sched/topology.c | 76 - 1 file changed, 62 insertions(+), 14 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index d0302ad..7

[RFC 1/3] sched/topology: Refactor function build_overlap_sched_groups()

2017-04-13 Thread Lauro Ramos Venancio
Create functions build_group_from_child_sched_domain() and init_overlap_sched_group(). No functional change. Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 62 ++--- 1 file changed, 43 insertions(+), 19 deletions(-) diff --git

[RFC 2/3] sched/topology: fix sched groups on NUMA machines with mesh topology

2017-04-13 Thread Lauro Ramos Venancio
[1] http://www.ece.ubc.ca/~sasha/papers/eurosys16-final29.pdf Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index d786d45..d030

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

2017-04-13 Thread Lauro Ramos Venancio
that is also in the mask. Signed-off-by: Lauro Ramos Venancio --- kernel/sched/topology.c | 76 - 1 file changed, 62 insertions(+), 14 deletions(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index d0302ad..7920bbb 100644 --- a/kernel

[RFC 0/3] sched/topology: fix sched groups on NUMA machines with mesh topology

2017-04-13 Thread Lauro Ramos Venancio
ith 8 NUMA nodes and mesh topology. Patch 1 - just prepare the code for patch 2 Patch 2 - change the sched groups construction Patch 3 - fix issue with different groups starting with the same CPU [1] http://www.ece.ubc.ca/~sasha/papers/eurosys16-final29.pdf Regards, Lauro Lauro Ramos Venancio (3

[RFC 0/3] sched/topology: fix sched groups on NUMA machines with mesh topology

2017-04-13 Thread Lauro Ramos Venancio
ith 8 NUMA nodes and mesh topology. Patch 1 - just prepare the code for patch 2 Patch 2 - change the sched groups construction Patch 3 - fix issue with different groups starting with the same CPU [1] http://www.ece.ubc.ca/~sasha/papers/eurosys16-final29.pdf Regards, Lauro Lauro Ramos Venancio (3