On Thu, 20 Oct 2022 09:51:22 +0800 Huang Ying <ying.huang@xxxxxxxxx> wrote: > In sysfs, we use attribute name "cpumap" or "cpus" for cpu mask and > "cpulist" or "cpus_list" for cpu list. For example, in my system, > > $ cat /sys/devices/system/node/node0/cpumap > f,ffffffff > $ cat /sys/devices/system/cpu/cpu2/topology/core_cpus > 0,00100004 > $ cat cat /sys/devices/system/node/node0/cpulist > 0-35 > $ cat /sys/devices/system/cpu/cpu2/topology/core_cpus_list > 2,20 > > It looks reasonable to use "nodemap" for node mask and "nodelist" for > node list. So, rename the attribute to follow the naming convention. I'll add Fixes: 9832fb87834e2b ("mm/demotion: expose memory tier details via sysfs") to this to reduce the risk that someone will backport 9832fb87834e2b but will miss this alteration.