Re: [PATCH 03/14] sched/topology: Fix building of overlapping sched-groups
From: Rik van Riel
Date: Mon May 01 2017 - 16:08:51 EST
On Fri, 2017-04-28 at 15:20 +0200, Peter Zijlstra wrote:
> When building the overlapping groups, we very obviously should start
> with the previous domain of _this_ @cpu, not CPU-0.
> With patch this looks like:
>
> Â [] CPU1 attaching sched-domain:
> Â []ÂÂdomain 0: span 0-2 level NUMA
> Â []ÂÂÂgroups: 1 0 2
> Â []ÂÂÂdomain 1: span 0-3 level NUMA
> Â []ÂÂÂÂgroups: 0-2 (cpu_capacity = 3072) 0,2-3 (cpu_capacity = 3072)
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: e3589f6c81e4 ("sched: Allow for overlapping sched_domain
> spans")
> Debugged-by: Lauro Ramos Venancio <lvenanci@xxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Acked-by: Rik van Riel <riel@xxxxxxxxxx>