Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3333813imu; Fri, 18 Jan 2019 08:37:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Y2IqOGqGWFC5alJvGapQR6Rrwt+eJwuOu0eZIf5pYBldhSLlyExy8mOZW54MXkyaAh7vv X-Received: by 2002:a62:8add:: with SMTP id o90mr19856068pfk.210.1547829464984; Fri, 18 Jan 2019 08:37:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547829464; cv=none; d=google.com; s=arc-20160816; b=QSNB3FHKzFwj3D6gmCeEZXp+nmMIA8ZmjpE2utl1PKSMXSHa4lweNXbVWhT6QrUP3F g0oQwtV0IdKx9fqkDF0ZIjypW8gZR9ynYiEkG0cOjtdqmiuq/+6yquQPA+jmSzGnfNs1 Gv6muHe6hldG7n43hnIEWGTjbUI/hvajR2P+NTJy3yEtbK+HIh+9TC0Q7e08rJRTG9Z8 FUtFpGFRn5VAjaeX1p9Gh3SMx2X6Vhoq+daz8l64vN43qst2Vc67urg/zWz6f4tdLmBs yPbGueSp9+QOwWodCvjZ6xKEyVooZbZ7oo1MxTiQI94wYeOilY0qUDonRmubIO8XkT86 n1wg== 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:dkim-signature; bh=lw/evbXQOPWl45yh4xmiSoRgJO3UEKa0j1zf5GEngpE=; b=yH/GRbjRCqPCh8FydTA1fnr0HpcPftYIz/xhdouECIqEoxHNEukAuK6LIwUOt/l0UX F2b/1I+MZDJUKKqUb82L4Ths80EQanladJEdF8LQdxQMvOfiJ1iGL0SYdc1Rw1rP7Cxe OWOwmkDdAfI6rx4tU7xKGZafqQhJlwCe1rltv/D9Vd2xgDNywxohIBr3a8simjkXU6Ey p8m1w1L/f2Uo8W1Leglh3hsL9OtLaq0DYPVqe4qcPFe3oIMsEjkGBeVdpFnm7cgtofwC 779qd1KdAJaaHRBaQWWCwyZ+67AJSpHYA7NJ8k4uWfDpOcZ7xE1jQx4kIDWzSLS0IrIR l1nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FkyDdINE; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l36si4965304plb.433.2019.01.18.08.37.27; Fri, 18 Jan 2019 08:37:44 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=FkyDdINE; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728248AbfARQgE (ORCPT + 99 others); Fri, 18 Jan 2019 11:36:04 -0500 Received: from mail-oi1-f174.google.com ([209.85.167.174]:41701 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbfARQgE (ORCPT ); Fri, 18 Jan 2019 11:36:04 -0500 Received: by mail-oi1-f174.google.com with SMTP id j21so9396913oii.8 for ; Fri, 18 Jan 2019 08:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lw/evbXQOPWl45yh4xmiSoRgJO3UEKa0j1zf5GEngpE=; b=FkyDdINE7f0BKmDJo6ikxgnXGoIaF5K38PG+i+7xq6DmDquvdWOBQ2bbhUR1jl5EWv bxHWPbdJBJxEQhaBYcV9rTl9ywrNqm/5N3TE/pGpTeSb+QSpGui0VlIlYien91SCNjNJ 1JnfZuUQ7k/Ix3/0ZsyQmDE28VNdPJVxpqA7iROn5fxzfx5l+Y8D7O4OepVQ10J89+DD aXnJTkmcn5UGb5iz+ZiZHs6JsJ3ewxugNSjLQo9WJjbK+kBGZgMEuB6xjIrw4puTyQ9/ wjWQgQVLo0l2wYO2DO9RmxUS2+StTPgCQIFRJySc9Bkx4Houx41p1gZN8mrx3OoMgNao foJw== 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=lw/evbXQOPWl45yh4xmiSoRgJO3UEKa0j1zf5GEngpE=; b=Zp2TCDhXRtnpnCFTHhRCUScfOKAVoQBKGfElqPmxfJ+0owU5OJ1Ksm2qrtxWH6Z9xc Vy/uWz43m3gW+CfLHjCiBQb1vyX042tqtxIU/EEr7n2iAPLRZR5V91ZY1UKisgZfBTAC NSXCaYaLBF1NH5ARdbIMc6tuaDXaN9r4Qapdk9mwx/zm61vSICZONo2c4HEDrKmuUX85 Fnmia4M6QTl9pLu0Mnh6TQFv6GmWUN0ZC5LkgXs2+/1yZq/lw4nlGSrE6aduMVpM18hs QWif9Qs5mnU1IVGlZBJiu4aR8VzKBIp5U6ZjMgJkZVmnwTkRyfXdP+wbFUpy1emIYebT ci6g== X-Gm-Message-State: AJcUukeTdDvznRxK5pjFd6AtWCysx3j9aU+WWfR4v+mGVwpmY8p7xdRd E0Ropj9Wows1YZUbBrDR8Pj/lgnqsICngt0/COxu3CMf X-Received: by 2002:aca:2dc8:: with SMTP id t191mr472109oit.235.1547829362554; Fri, 18 Jan 2019 08:36:02 -0800 (PST) MIME-Version: 1.0 References: <20190116175804.30196-1-keith.busch@intel.com> <20190116175804.30196-6-keith.busch@intel.com> <20190118112134.00003b65@huawei.com> In-Reply-To: <20190118112134.00003b65@huawei.com> From: Dan Williams Date: Fri, 18 Jan 2019 08:35:50 -0800 Message-ID: Subject: Re: [PATCHv4 05/13] Documentation/ABI: Add new node sysfs attributes To: Jonathan Cameron Cc: Keith Busch , Linux Kernel Mailing List , Linux ACPI , Linux MM , Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen 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 On Fri, Jan 18, 2019 at 3:22 AM Jonathan Cameron wrote: > > On Wed, 16 Jan 2019 10:57:56 -0700 > Keith Busch wrote: > > > Add entries for memory initiator and target node class attributes. > > > > Signed-off-by: Keith Busch > > --- > > Documentation/ABI/stable/sysfs-devices-node | 25 ++++++++++++++++++++++++- > > 1 file changed, 24 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/ABI/stable/sysfs-devices-node b/Documentation/ABI/stable/sysfs-devices-node > > index 3e90e1f3bf0a..a9c47b4b0eee 100644 > > --- a/Documentation/ABI/stable/sysfs-devices-node > > +++ b/Documentation/ABI/stable/sysfs-devices-node > > @@ -90,4 +90,27 @@ Date: December 2009 > > Contact: Lee Schermerhorn > > Description: > > The node's huge page size control/query attributes. > > - See Documentation/admin-guide/mm/hugetlbpage.rst > > \ No newline at end of file > > + See Documentation/admin-guide/mm/hugetlbpage.rst > > + > > +What: /sys/devices/system/node/nodeX/classY/ > > +Date: December 2018 > > +Contact: Keith Busch > > +Description: > > + The node's relationship to other nodes for access class "Y". > > + > > +What: /sys/devices/system/node/nodeX/classY/initiator_nodelist > > +Date: December 2018 > > +Contact: Keith Busch > > +Description: > > + The node list of memory initiators that have class "Y" access > > + to this node's memory. CPUs and other memory initiators in > > + nodes not in the list accessing this node's memory may have > > + different performance. > > + > > +What: /sys/devices/system/node/nodeX/classY/target_nodelist > > +Date: December 2018 > > +Contact: Keith Busch > > +Description: > > + The node list of memory targets that this initiator node has > > + class "Y" access. Memory accesses from this node to nodes not > > + in this list may have differet performance. > > Different performance from what? In the other thread we established that > these target_nodelists are kind of a backwards reference, they all have > their characteristics anyway. Perhaps this just needs to say: > "Memory access from this node to these targets may have different performance"? > > i.e. Don't make the assumption I did that they should all be the same! I think a clarification of "class" is needed in this context. A "class" is the the set of initiators that have the same rated performance to a given target set. In other words "class" is a tuple of (performance profile, initiator set, target set). Different performance creates a different tuple / class.