Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5063752imb; Thu, 7 Mar 2019 07:01:34 -0800 (PST) X-Google-Smtp-Source: APXvYqz1FzrGQUtt2ZuFNVVU92b2dInNjFVcfZdhw3Tptd27YQ/dfXeho9B6YRNu1DwgQ/c+BHRB X-Received: by 2002:a62:b40b:: with SMTP id h11mr13142106pfn.108.1551970894682; Thu, 07 Mar 2019 07:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551970894; cv=none; d=google.com; s=arc-20160816; b=0bFaVedl6bgFLlZTO4CvtjeVTt0U9mZBdn8BhVSccqjpJNKXPx6TU2hrHPD5ioEqq7 WlbJo5OTCoQrjgY8tMennn0/2pbxGqAjPV1MF+vc/d1agPKLO2Bh1KKdbyYq+oVNRxhV Dp6zbK4SE1vyj3HJtl9mhjX4PlLFM7xqfke5KOumAvT612CRwVNj+ieGx7wEqJgg3019 feY+jW+L1neV1XMMBuNYF3BX3KV+YySj/uwkwMlVoc4X/QZExollsiUlsJXel1bbU8Ld 5ar3WMeTi/tdpIckHe2LJNYYLZRtQEr1DKbSJwtl+FvlL1RJEVU1SK1YYq8NLBqyVztd WJZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=k6JYLuv2ePOXbibpy2Y8OfcUTAUbNICLsEWrwIrgY1k=; b=p0fpRn2R8vZJKU5Pzhw6yB9+JID6g07sQbL+TnChwBgR5CkzNwwRSQCQzS4hosPZGT jl3bgl+OiAqjZEpQofWmMabK6gZmKPFAZsEGMkz3tvzwQPyhALyzgIRq4jL0t+Eh4shm R59AL0CGDzPZhUfvU7Xu6tj6PR9G5WFs54jfBlu6gOiKJi3d+ehT5aq6GbH3JXInxJfs HWkmHVd9r9BHJ7Qf5xR8lQDD17F+oJpigHct8V1gIcpcjrFIDkq1RhY5FKW3sG7HLVLC KoEeETw7xgSB5bFuOiiBZ01UPaOJ7PEH7cz1pXgCM/Uzra7FjU1aYy59IN4evvbtsuE5 pEUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si4201430pgl.531.2019.03.07.07.01.17; Thu, 07 Mar 2019 07:01:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbfCGO73 (ORCPT + 99 others); Thu, 7 Mar 2019 09:59:29 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46656 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbfCGO73 (ORCPT ); Thu, 7 Mar 2019 09:59:29 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AAE1FEBD; Thu, 7 Mar 2019 06:59:28 -0800 (PST) Received: from e105550-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BD4BE3F71D; Thu, 7 Mar 2019 06:59:27 -0800 (PST) Date: Thu, 7 Mar 2019 14:59:25 +0000 From: Morten Rasmussen To: Peter Zijlstra Cc: Len Brown , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/14] v2 multi-die/package topology support Message-ID: <20190307145925.GD19434@e105550-lin.cambridge.arm.com> References: <20190226062012.23746-1-lenb@kernel.org> <20190226185358.GQ2861@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190226185358.GQ2861@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 26, 2019 at 07:53:58PM +0100, Peter Zijlstra wrote: > On Tue, Feb 26, 2019 at 01:19:58AM -0500, Len Brown wrote: > > Added sysfs package_threads, package_threads_list > > > > Added this attribute to show threads siblings in a package. > > Exactly same as "core_siblings above", a name now deprecated. > > This attribute name and definition is immune to future > > topology changes. > > > > Suggested by Brice. > > > > Added sysfs die_threads, die_threads_list > > > > Added this attribute to show which threads siblings in a die. > > V1 had proposed putting this info into "core_siblings", but we > > decided to leave that legacy attribute alone. > > This attribute name and definition is immune to future > > topology changes. > > > > On a single die-package system this attribute has same contents > > as "package_threads". > > > > Suggested by Brice. > > > > Added sysfs core_threads, core_threads_list > > > > Added this attribute to show which threads siblings in a core. > > Exactly same as "thread_siblings", a name now deprecated. > > This attribute name and definition is immune to future > > topology changes. > > > > Suggested by Brice. > > I think I prefer 's/threads/cpus/g' on that. Threads makes me think SMT, > and I don't think there's any guarantee the part in question will have > SMT on. I think 'threads' is a bit confusing as well. We seem to be using 'cpu' everywhere for something we can schedule tasks on, including the sysfs /sys/devices/system/cpu/ subdirs for each SMT thread on SMT systems. Another thing that I find confusing is that with this series we a new die id/mask which is totally unrelated to the DIE level in the sched_domain hierarchy. We should rename DIE level to something that reflects what it really is. If we can agree on that ;-) NODE level? Morten