Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp747161yba; Fri, 12 Apr 2019 12:55:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrfv2AdDpkFFZnoh7/JDZZkDy1bqWuGtJGX6rJoUApEk46w7A3hMb/namCtTBy+ja14yb6 X-Received: by 2002:aa7:9151:: with SMTP id 17mr58974054pfi.192.1555098923000; Fri, 12 Apr 2019 12:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555098922; cv=none; d=google.com; s=arc-20160816; b=zsNdQh0zhoEAgZtJvOhn3iU5DO+e2H9yh4+zFOXz9yfnE0LQdYMQX8Enzz4ZpFnPev rpWDrGrXgsr98s0nURcPq1c2zA6fV9BIrXVpgRtuHJVOO9fUan+Zpfd/jhxU8I2E7jao nhmpbjUSpQ53hjq6lvGNm/+y5tuxRDt3ovuGi72Iu6alEXCo9FQ+kemXL22M8i6SQrrg QhNrDeb4w4dww30pqRG9jsvBisugL8TWcidmNc474nfc0zZWfLc8GK+EdM23pjyraYG4 8VhZqzuoyWF/HcNuaEGheAeR5VmGHOXYfm+uXpfYGOnCZmuGPWqgwNZPN2yIJKqyxCTX QzJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Jb4z3jW0thx7PVQQQPpt7VEpOEzDZAQnNlKDZUPhehA=; b=izGOWWH+yrBdZAzbc9ZphKoRK+cIBDq80bBF04AMsoQBGvJ1MZ0YHgBMQfoIXBXoSr ByVl7CyWwlzrR4j9dV6TdjH2PL19kQ1E4SMu2G1XS8UC7lxbVY+fSYvfEEePcGxCOr0d Ap44W2c4zsERUgjdYNI/XiSSBQids43GO+ET+Dz+cptIcd2UCQSrHiziDs5GXyCioSEQ Pks5bOH3OrK3W99oVMB4lckg+hV1HiAAaQJ0KCl4GMiUNodkKUXv9VjCu8he/KvU8A8y TsV5O7RPkb7RZUvMjTjaJI9Su/A27KWB8paP+mMlcNg4nL+T26JR99aWL50/tzrOycSm bnLQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si37995409pfh.157.2019.04.12.12.55.06; Fri, 12 Apr 2019 12:55:22 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbfDLTxL (ORCPT + 99 others); Fri, 12 Apr 2019 15:53:11 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33892 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbfDLTxK (ORCPT ); Fri, 12 Apr 2019 15:53:10 -0400 Received: by mail-ed1-f65.google.com with SMTP id x14so9413457eds.1 for ; Fri, 12 Apr 2019 12:53:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jb4z3jW0thx7PVQQQPpt7VEpOEzDZAQnNlKDZUPhehA=; b=LuwePai4gzSSuYBQt64mUP9zVzvMEUq9H4chiENOw5T8oq82IlrpZ5/yIiiFiFbsTB 4TJQLPoERBt3LTqYzoDo1doyBwZSd009Sz+yRojp5LR6fM3yjJYRtlEVG2uBKuSLmv9Y PcE11ZY8hynBUFV8oGsu2Wh+meiZLL1LxZJQ/TxLsifzHb4OYfI6iM8o2NAsLNHYrgJx MPJBiheEQBd/NrN+7Ys3L26CSdQr/vwrrcmSCEMzjRb/GR6/Mx3VXqY0KWBWkfXerJOv iEcJ9AhyawW1UteT7wVLSAOwMGiqyWYU/nIerLS3Wz9piJ3ma87EsTB4S3hx3yrzaxbz fWGw== X-Gm-Message-State: APjAAAVLvEO5VwIKR+Cd4MVie+8uGQJEKhg7dlkc8cauNj8sN20ihxpY fDLbwVCt3q8Hz5cYvVcGRnzI/NBhEO1qIAFzQjg= X-Received: by 2002:a50:9179:: with SMTP id f54mr36491145eda.207.1555098789573; Fri, 12 Apr 2019 12:53:09 -0700 (PDT) MIME-Version: 1.0 References: <20190226062012.23746-1-lenb@kernel.org> <20190226185358.GQ2861@worktop.programming.kicks-ass.net> <20190307145925.GD19434@e105550-lin.cambridge.arm.com> In-Reply-To: From: Len Brown Date: Fri, 12 Apr 2019 15:52:58 -0400 Message-ID: Subject: Re: [PATCH 0/14] v2 multi-die/package topology support To: Thomas Gleixner Cc: Morten Rasmussen , Peter Zijlstra , X86 ML , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > 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. I agree with Peter and Morten. "cpu" is more clear and consistent than "thread" here. I'll spin the series with that string changed. > > 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? Cache topology and node interconnect topology impact performance, and so we what we look at, when we decided to run something on this CPU or that one. That logical topology lives within the physical package and die topology, but doesn't necessarily match it. For example, caches can be shared or split into pieces inside a package or die. Logical nodes may match die boundaries, or there may be multiple logical nodes within a single physical package or die. We have mechanisms for explicitly enumerating the caches, and for nodes. This patch series does not touch those mechanisms. The reason we need to know about physical packages and die is that there are other things associated with them. eg. power and temperature domains, and certain system registers follow these physical boundaries. Code that talks to those items needs to be able to understand these physical boundaries. I hope that helps. thanks, Len Brown, Intel Open Source Technology Center