Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp869779imp; Wed, 20 Feb 2019 10:27:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IYJF04f7NnGpX4lbUIAISMqdIS7vsCf7we5JeRiiJFjkIwqQ9Xxay7sDqvvFcnzFeUFJUzd X-Received: by 2002:a17:902:be08:: with SMTP id r8mr24038691pls.278.1550687263193; Wed, 20 Feb 2019 10:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550687263; cv=none; d=google.com; s=arc-20160816; b=K1zT7EDFgDO9QB3/kCgGliG2w1tIhjJ37N1dlVvpIUw9cp97BB/FKLc4bOZZWuT1mN SadfmTTlh7Un3lhwdwtFvb0u0gW0c/5MWKsvOBbFalXDI2/4Y2DAuNypgF4Hw1nO8Ngi PBiqzJlGOkdjw5pPU6qbAXOwgXywmHSjHOyLBL+tnuUGjk4kjQlapN4uXzAp+XqF3n5V 00SQh22k8NcdIX58osT8bvE753UhmGO1NQOvXaOpU6/eomGF/kuGfAEksZ0jF59orcIL WWM1np1IVW+RSeRoo0+J3JlcnP7LtextaeNxyDJEL9F3zfJ1U3UGQ6YqrV0o9RiwvzG9 FDPA== 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=uzK8XFXGL8nsdrxMRuHj40KvZQc9OlKuRRfDqrJUDio=; b=uUZAamn6HU1Y8P9U2WcxruN7xeTobCg727Lzt53fsKzx9MjztL/sz8xrYLYZhhY2ab 79Yv8S1w4TUuEDIpDphMpb7IqnY4v5eg7O3NNJa5RvYMFiNVBtWwQWzeUXugTc38/qnD cF4aOjZH8qxjc65tmEfEu954emH76xm70ZxepT/oZORj2w770uYDo+ikT+xL8nuW6g6t kJYHV03CamITK8N4UNIST9CBdCUKcynERej52Gn6IwHoUnPzZO5vhcEs2TqjgtevEK7w MJF52g4avMzelKPUOebUmDlpBd42zAnWnuKlfubhZ3GmIGFQKx+mMSYO/hAsMdic71H9 zpsA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si18731783pgk.344.2019.02.20.10.27.27; Wed, 20 Feb 2019 10:27:43 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726768AbfBTSZf (ORCPT + 99 others); Wed, 20 Feb 2019 13:25:35 -0500 Received: from mga11.intel.com ([192.55.52.93]:46760 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbfBTSZf (ORCPT ); Wed, 20 Feb 2019 13:25:35 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2019 10:25:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,392,1544515200"; d="scan'208";a="119478926" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga008.jf.intel.com with ESMTP; 20 Feb 2019 10:25:33 -0800 Date: Wed, 20 Feb 2019 11:25:27 -0700 From: Keith Busch To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org Cc: Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams Subject: Re: [PATCHv6 00/10] Heterogenous memory node attributes Message-ID: <20190220182527.GD4451@localhost.localdomain> References: <20190214171017.9362-1-keith.busch@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190214171017.9362-1-keith.busch@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 10:10:07AM -0700, Keith Busch wrote: > Platforms may provide multiple types of cpu attached system memory. The > memory ranges for each type may have different characteristics that > applications may wish to know about when considering what node they want > their memory allocated from. > > It had previously been difficult to describe these setups as memory > rangers were generally lumped into the NUMA node of the CPUs. New > platform attributes have been created and in use today that describe > the more complex memory hierarchies that can be created. > > This series' objective is to provide the attributes from such systems > that are useful for applications to know about, and readily usable with > existing tools and libraries. Those applications may query performance > attributes relative to a particular CPU they're running on in order to > make more informed choices for where they want to allocate hot and cold > data. This works with mbind() or the numactl library. Hi all, So this seems very calm at this point. Unless there are any late concerns or suggestions, could we open consideration for queueing in a staging tree for a future merge window? Thanks, Keith > Keith Busch (10): > acpi: Create subtable parsing infrastructure > acpi: Add HMAT to generic parsing tables > acpi/hmat: Parse and report heterogeneous memory > node: Link memory nodes to their compute nodes > node: Add heterogenous memory access attributes > node: Add memory-side caching attributes > acpi/hmat: Register processor domain to its memory > acpi/hmat: Register performance attributes > acpi/hmat: Register memory side cache attributes > doc/mm: New documentation for memory performance > > Documentation/ABI/stable/sysfs-devices-node | 89 +++- > Documentation/admin-guide/mm/numaperf.rst | 164 +++++++ > arch/arm64/kernel/acpi_numa.c | 2 +- > arch/arm64/kernel/smp.c | 4 +- > arch/ia64/kernel/acpi.c | 12 +- > arch/x86/kernel/acpi/boot.c | 36 +- > drivers/acpi/Kconfig | 1 + > drivers/acpi/Makefile | 1 + > drivers/acpi/hmat/Kconfig | 9 + > drivers/acpi/hmat/Makefile | 1 + > drivers/acpi/hmat/hmat.c | 677 ++++++++++++++++++++++++++ > drivers/acpi/numa.c | 16 +- > drivers/acpi/scan.c | 4 +- > drivers/acpi/tables.c | 76 ++- > drivers/base/Kconfig | 8 + > drivers/base/node.c | 351 ++++++++++++- > drivers/irqchip/irq-gic-v2m.c | 2 +- > drivers/irqchip/irq-gic-v3-its-pci-msi.c | 2 +- > drivers/irqchip/irq-gic-v3-its-platform-msi.c | 2 +- > drivers/irqchip/irq-gic-v3-its.c | 6 +- > drivers/irqchip/irq-gic-v3.c | 10 +- > drivers/irqchip/irq-gic.c | 4 +- > drivers/mailbox/pcc.c | 2 +- > include/linux/acpi.h | 6 +- > include/linux/node.h | 60 ++- > 25 files changed, 1480 insertions(+), 65 deletions(-) > create mode 100644 Documentation/admin-guide/mm/numaperf.rst > create mode 100644 drivers/acpi/hmat/Kconfig > create mode 100644 drivers/acpi/hmat/Makefile > create mode 100644 drivers/acpi/hmat/hmat.c