Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3845936pxb; Mon, 4 Oct 2021 10:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypKHbIU1FDDt6tax+qn11etpWnwwB+hgfPWNmdG1B7nizOTnZMhQVfMq4XBi6v71Nd0Xqe X-Received: by 2002:a17:906:af49:: with SMTP id ly9mr16056107ejb.479.1633369875890; Mon, 04 Oct 2021 10:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633369875; cv=none; d=google.com; s=arc-20160816; b=rlyvVunmCCri8cTqTqugBaQCLXMl6gLG3xl9E8itKBmiquLWPILlKjeB94d5DpKIQH fTDV9+N124S+ldtRJ5IFDN6TDH5gxGCElDj6hs+Gx1dcAHC/8de5uNcHwUTmAqn40OBl ESRrs2Mvp0sQAGmKX7cap0MEDCdF+IqORRzjN5fvyXGDwV3E5K7BWOoLNv8bkuhXQRU1 jhUBKd4CEaA7oWu1ZU09tbaZf5AtOASEAYFVxKfNExEytRHi6dnHAG8XCdAzgZp0iBfe jGmleFEo0dInkuX1FWtjcSuXjqGbD8OYJkSk6LTWasSIsrdqGbC0uEY1zBopL5BFM5BM hY0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Wibxn/VP/37Tzs59RA76zSR3vI1QRkd5LZ6SstseSPA=; b=u5tuaQz8eYt1ChpNqzwt0wPe1EseNuAw5+A0LQQgmwcMbY5/wHUBlUuKvJ8Nlb7+9w +n6Ajq6w9uYKgKioO2xep178BxVZr00b+NONwYPdCl0396tFsWwqBycRDFs9JH2+XcnU euiwPmtbdSboo1cSGfcIKJergPOXyp/CCYvxJTqZVSIlDmzMVm0iZa7r1rajQ5EDOosT I/4Sve4EpDgQq80UAzrieAAOdiyuxLTOwkWsf3JcaeC0o6K5pfil3tDmKOKLjjEisPbk oDdHA+fHXhu2SwQdI00q6VOUBzCTtRgNtUlK/idELmkXT4VBmmSgfqthvGFhZ3VnLvjo lYAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s7si588424ejs.402.2021.10.04.10.50.50; Mon, 04 Oct 2021 10:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235004AbhJDPWd (ORCPT + 99 others); Mon, 4 Oct 2021 11:22:33 -0400 Received: from foss.arm.com ([217.140.110.172]:50242 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234893AbhJDPWb (ORCPT ); Mon, 4 Oct 2021 11:22:31 -0400 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 8D22FD6E; Mon, 4 Oct 2021 08:20:42 -0700 (PDT) Received: from e113632-lin (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3ACCA3F70D; Mon, 4 Oct 2021 08:20:41 -0700 (PDT) From: Valentin Schneider To: Yicong Yang , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, 21cnbao@gmail.com Cc: linux-kernel@vger.kernel.org, song.bao.hua@hisilicon.com, prime.zeng@huawei.com, yangyicong@hisilicon.com Subject: Re: [RESEND PATCH] sched/topology: Remove unused numa_distance in cpu_attach_domain() In-Reply-To: <20210915063158.80639-1-yangyicong@hisilicon.com> References: <20210915063158.80639-1-yangyicong@hisilicon.com> Date: Mon, 04 Oct 2021 16:20:39 +0100 Message-ID: <87y278lsu0.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/09/21 14:31, Yicong Yang wrote: > numa_distance in cpu_attach_domain() is introduced in > commit b5b217346de8 ("sched/topology: Warn when NUMA diameter > 2") > to warn user when NUMA diameter > 2 as we'll misrepresent > the scheduler topology structures at that time. This is > fixed by Barry in commit 585b6d2723dc ("sched/topology: fix the issue > groups don't span domain->span for NUMA diameter > 2") and > numa_distance is unused now. So remove it. > Ah, 585b6d2723dc didn't contain a proper revert of b5b217346de8, leaving those hunks behind. Reviewed-by: Valentin Schneider