From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751879AbdEAUIt (ORCPT ); Mon, 1 May 2017 16:08:49 -0400 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 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 06C72C19154D Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=riel@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 06C72C19154D 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> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 01 May 2017 20:08:45 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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