Skip to content

ACPI HMAT memory sysfs representation

Keith Busch linux-acpi linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 23 repliesIn review

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] ACPI HMAT memory sysfs representation

This series provides a new sysfs representation for heterogeneous system memory.

The previous series that was specific to HMAT that this series was based on was last posted here: https://lkml.org/lkml/2017/12/13/968

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 first creates new generic APIs under the kernel's node representation. These new APIs can be used to create links among local memory and compute nodes and export characteristics about the memory nodes. Documentation desribing the new representation are provided.

Finally the series adds a kernel user for these new APIs from parsing the ACPI HMAT.

Keith Busch (7):
node: Link memory nodes to their compute nodes
node: Add heterogenous memory performance doc/vm: New documentation for memory performance
node: Add memory caching attributes doc/vm: New documentation for memory cache
acpi: Create subtable parsing infrastructure acpi/hmat: Parse and report heterogeneous memory

 Documentation/vm/numacache.rst |  76 ++++++++
 Documentation/vm/numaperf.rst  |  71 ++++++++
 drivers/acpi/Kconfig           |   9 +
 drivers/acpi/Makefile          |   1 +
 drivers/acpi/hmat.c            | 384 +++++++++++++++++++++++++++++++++++++++++
 drivers/acpi/tables.c          |  85 +++++++--
 drivers/base/Kconfig           |   8 +
 drivers/base/node.c            | 193 +++++++++++++++++++++
 include/linux/node.h           |  47 +++++
 9 files changed, 864 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/vm/numacache.rst
 create mode 100644 Documentation/vm/numaperf.rst
 create mode 100644 drivers/acpi/hmat.c
Signature · 1 line
2.14.4