On Fri, Nov 23, 2018 at 11:21 AM Dave Hansen <dave.hansen@xxxxxxxxx> wrote: > > On 11/22/18 10:42 PM, Anshuman Khandual wrote: > > Are we willing to go in the direction for inclusion of a new system > > call, subset of it appears on sysfs etc ? My primary concern is not > > how the attribute information appears on the sysfs but lack of it's > > completeness. > > 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.