From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 323F0C433E0 for ; Tue, 2 Feb 2021 16:51:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A145464E9A for ; Tue, 2 Feb 2021 16:51:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236914AbhBBQvi (ORCPT ); Tue, 2 Feb 2021 11:51:38 -0500 Received: from foss.arm.com ([217.140.110.172]:53308 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236868AbhBBQtN (ORCPT ); Tue, 2 Feb 2021 11:49:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 13426ED1; Tue, 2 Feb 2021 08:48:28 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D30DE3F73B; Tue, 2 Feb 2021 08:48:25 -0800 (PST) From: Valentin Schneider To: Barry Song , vincent.guittot@linaro.org, mgorman@suse.de, mingo@kernel.org, peterz@infradead.org, dietmar.eggemann@arm.com, morten.rasmussen@arm.com, linux-kernel@vger.kernel.org Cc: linuxarm@openeuler.org, xuwei5@huawei.com, liguozhu@hisilicon.com, tiantao6@hisilicon.com, wanghuiqiang@huawei.com, prime.zeng@hisilicon.com, jonathan.cameron@huawei.com, guodong.xu@linaro.org, Barry Song , Meelis Roos Subject: Re: [PATCH] sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2 In-Reply-To: References: <20210201033830.15040-1-song.bao.hua@hisilicon.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 02 Feb 2021 16:48:23 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/02/21 15:17, Valentin Schneider wrote: > That is, rather than building overlapping groups and fixing them whenever > that breaks (distance > 2), we could have: > - the local group being the child domain's span (as always) > - all non-local NUMA groups spanning a single node each, with the right sgc > cross-referencing. > > Thoughts? > Hmph I'm thinking this can be broken by domain degeneration, as nothing will come fix up the ->sgc link and we'd be back to having a reference to a group that doesn't get updated...