From patchwork Tue Dec 11 01:03:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Busch X-Patchwork-Id: 10722911 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 86D3991E for ; Tue, 11 Dec 2018 01:05:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 762732A0E6 for ; Tue, 11 Dec 2018 01:05:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A84E2A4ED; Tue, 11 Dec 2018 01:05:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0239C2A0E6 for ; Tue, 11 Dec 2018 01:05:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3E2718E0018; Mon, 10 Dec 2018 20:05:49 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 316AA8E006C; Mon, 10 Dec 2018 20:05:49 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 22A4B8E0018; Mon, 10 Dec 2018 20:05:49 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by kanga.kvack.org (Postfix) with ESMTP id D53EB8E006E for ; Mon, 10 Dec 2018 20:05:48 -0500 (EST) Received: by mail-pf1-f198.google.com with SMTP id i3so11261070pfj.4 for ; Mon, 10 Dec 2018 17:05:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=W/Gla3Va+r2D3zn3/R80j2VfNwvg9MqUHIFJhKOUTHM=; b=UJyabJF8PTbTqQ++/3h9xo8//fEBYs7SfInIMJlkD5C3oRNvuTZS519H4Fq2vcIlKe iD3DiE2fUypO2mODqZIITxMwCzSVPdAilK0Z0mGLx3/r1eCfGdtYH7TnPYw6tCR0OI9E oX+LMhFSEYY8k1ayCEpPINmWNFWwVL3mtUaeyNUGQcIUMSiRt/QeJ6wcaKgK7eiARCux viWXJu1fmsAgaWWe4AQopOwHfg10GoLb6s985Jfu2ZKHgOLoIC9y4kk+lIHZihJTVDSQ cudl2Jabdb0PwQ0vJ1yj/NycQ08VFQJo6zB5BkcFClpnXDumTsIUTtZMOh78Z1CoQLzQ hA9g== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of keith.busch@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=keith.busch@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: AA+aEWYzuTje6eG36hgYzn7a/UCCCdLUi4Msj+CmDKNB0SfJaDMQ1J5I F/T5mDRAL4CVGv7xLuvaHJsU838SKXMG6zB8vzepsPJCrveM5Waeqy6qvjxFwOxAM4GIIhVC7bv cOU1tWLGsDsmoJEkK2tYra9IekBtL2omYNnRcyt7UAgkatxcYFnrveRiMp43U/VzGYQ== X-Received: by 2002:a17:902:d70b:: with SMTP id w11mr14408866ply.294.1544490348548; Mon, 10 Dec 2018 17:05:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xm5tC3fJWu6mKTcfFjMiePu7OCrbMMvM441RaFfv3SDy57A3w/Cg8hnbPD1qn+91Z84rw/ X-Received: by 2002:a17:902:d70b:: with SMTP id w11mr14408830ply.294.1544490347768; Mon, 10 Dec 2018 17:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544490347; cv=none; d=google.com; s=arc-20160816; b=czzmBURMD9V35CmtJQIkPnpeU1bgSrGa8nVj2XHp8WrA39649uOE+bi60Yj+UeRtQF 4Cynun3Y2Qlz6iv4kvys1xGBzhB5vMDA/qdWg5CvUH4ElF8PbGaNnMiaNO2JOOarDLqd uPH2jvlCc7Ipi+j1Qwb2a/f4kFn3tJZ28pN/FJOaMDs+2B4LgdzikTVgV5dsGF0nA1Yr OIE29izn5CFFSDvvEYkTiQu6TIMO+rEj49r+fUg2lTzccnIq8f8KRCb+9biteDEYg6YC NdfJNOQOFkSwxvCoGbRtI6huLyAS5Y5Pm587qgdh8nUYOCcvuBmsK0asJKvxh+MfUj8Y pQNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=W/Gla3Va+r2D3zn3/R80j2VfNwvg9MqUHIFJhKOUTHM=; b=qEyAAo2yt6nPosi/dCY5K0ympGrI4IrSO32pGjZb+9h/gNKAsfFsuOXON8np+5pt4b cHtK/4e3+qpP2PlAAZy3hz+/g4VyF0+0pXGMrrUqqVboCcEG9OWHSiImwJ4TSmTmvSsS +Pf0GkLby6764IeVquNr3G9PnUWijtl3iZq3FJB0bCCk3U0gD+BKhPL5N3dbjcCb8LIt Mwqgwt+vv8eLhlRV/GeWvG3v1dS2SwiJxnetopZZSrQeRJ376R6E89GaEqFIQ39oA1NF O4mjxGSkq5Dstgw5usIlTQj/POZTobvj5RlMapFCRsiOoxygzobiYO0CMKu/hLa4+NsS j+rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of keith.busch@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=keith.busch@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga05.intel.com (mga05.intel.com. [192.55.52.43]) by mx.google.com with ESMTPS id i1si11402278pfj.276.2018.12.10.17.05.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 17:05:47 -0800 (PST) Received-SPF: pass (google.com: domain of keith.busch@intel.com designates 192.55.52.43 as permitted sender) client-ip=192.55.52.43; Authentication-Results: mx.google.com; spf=pass (google.com: domain of keith.busch@intel.com designates 192.55.52.43 as permitted sender) smtp.mailfrom=keith.busch@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2018 17:05:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,340,1539673200"; d="scan'208";a="117705179" Received: from unknown (HELO localhost.lm.intel.com) ([10.232.112.69]) by orsmga001.jf.intel.com with ESMTP; 10 Dec 2018 17:05:46 -0800 From: Keith Busch To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org Cc: Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams , Keith Busch Subject: [PATCHv2 04/12] Documentation/ABI: Add new node sysfs attributes Date: Mon, 10 Dec 2018 18:03:02 -0700 Message-Id: <20181211010310.8551-5-keith.busch@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20181211010310.8551-1-keith.busch@intel.com> References: <20181211010310.8551-1-keith.busch@intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Add the entries for primary cpu and memory node attributes. Signed-off-by: Keith Busch --- Documentation/ABI/stable/sysfs-devices-node | 34 ++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/stable/sysfs-devices-node b/Documentation/ABI/stable/sysfs-devices-node index 3e90e1f3bf0a..8430d5b261f6 100644 --- a/Documentation/ABI/stable/sysfs-devices-node +++ b/Documentation/ABI/stable/sysfs-devices-node @@ -90,4 +90,36 @@ 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/primary_cpu_nodelist +Date: December 2018 +Contact: Keith Busch +Description: + The node list of CPUs that have primary access to this node's + memory. CPUs not in the list accessing this node's memory may + encounter a performance penalty. + +What: /sys/devices/system/node/nodeX/primary_cpu_nodemask +Date: December 2018 +Contact: Keith Busch +Description: + The node map for CPUs that have primary access to this node's + memory. CPUs not in the list accessing this node's memory may + encounter a performance penalty. + +What: /sys/devices/system/node/nodeX/primary_mem_nodelist +Date: December 2018 +Contact: Keith Busch +Description: + The list of memory nodes that this node has primary access. + Memory accesses from this node to nodes not in this list may + encounter a performance penalty. + +What: /sys/devices/system/node/nodeX/primary_mem_nodemask +Date: December 2018 +Contact: Keith Busch +Description: + The map of memory nodes that this node has primary access. + Memory accesses from this node to nodes not in this map may + encounter a performance penalty.