Messages in this thread | | | Date | Mon, 24 Oct 2022 12:55:04 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH] memory tier, sysfs: rename attribute "nodes" to "nodelist" |
| |
On Thu, 20 Oct 2022, Huang Ying 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. > >Signed-off-by: "Huang, Ying" <ying.huang@intel.com> >Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> >Cc: Alistair Popple <apopple@nvidia.com> >Cc: Bharata B Rao <bharata@amd.com> >Cc: Dan Williams <dan.j.williams@intel.com> >Cc: Dave Hansen <dave.hansen@intel.com> >Cc: Davidlohr Bueso <dave@stgolabs.net> >Cc: Hesham Almatary <hesham.almatary@huawei.com> >Cc: Jagdish Gediya <jvgediya.oss@gmail.com> >Cc: Johannes Weiner <hannes@cmpxchg.org> >Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com> >Cc: Michal Hocko <mhocko@kernel.org> >Cc: Tim Chen <tim.c.chen@intel.com> >Cc: Wei Xu <weixugc@google.com> >Cc: Yang Shi <shy828301@gmail.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
| |