Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:26452 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbdEAUIp (ORCPT ); Mon, 1 May 2017 16:08:45 -0400 Message-ID: <1493669323.31102.15.camel@redhat.com> Subject: Re: [PATCH 03/14] sched/topology: Fix building of overlapping sched-groups From: Rik van Riel To: Peter Zijlstra , mingo@kernel.org, lvenanci@redhat.com Cc: lwang@redhat.com, efault@gmx.de, tglx@linutronix.de, linux-kernel@vger.kernel.org, stable@vger.kernel.org Date: Mon, 01 May 2017 16:08:43 -0400 In-Reply-To: <20170428132502.501420079@infradead.org> References: <20170428131958.893188882@infradead.org> <20170428132502.501420079@infradead.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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@vger.kernel.org > Fixes: e3589f6c81e4 ("sched: Allow for overlapping sched_domain > spans") > Debugged-by: Lauro Ramos Venancio > Signed-off-by: Peter Zijlstra (Intel) Acked-by: Rik van Riel