Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

From: Dave Hansen
Date: Mon Nov 26 2018 - 11:42:27 EST


On 11/23/18 1:13 PM, Dan Williams wrote:
>> A new system call makes total sense to me. I have the same concern
>> about the completeness of what's exposed in sysfs, I just don't see a
>> _route_ to completeness with sysfs itself. Thus, the minimalist
>> approach as a first step.
> Outside of platform-firmware-id to Linux-numa-node-id what other
> userspace API infrastructure does the kernel need to provide? It seems
> userspace enumeration of memory attributes is fully enabled once the
> firmware-to-Linux identification is established.

It would be nice not to have each app need to know about each specific
platform's firmware.