mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 9832fb8783 ("mm/demotion: expose memory tier details via sysfs")
Signed-off-by: "Huang, Ying" <[email protected]>
Acked-by: Wei Xu <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Reviewed-by: Yang Shi <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Bharata B Rao <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Hesham Almatary <[email protected]>
Cc: Jagdish Gediya <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Tim Chen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
26 lines
911 B
Plaintext
26 lines
911 B
Plaintext
What: /sys/devices/virtual/memory_tiering/
|
|
Date: August 2022
|
|
Contact: Linux memory management mailing list <[email protected]>
|
|
Description: A collection of all the memory tiers allocated.
|
|
|
|
Individual memory tier details are contained in subdirectories
|
|
named by the abstract distance of the memory tier.
|
|
|
|
/sys/devices/virtual/memory_tiering/memory_tierN/
|
|
|
|
|
|
What: /sys/devices/virtual/memory_tiering/memory_tierN/
|
|
/sys/devices/virtual/memory_tiering/memory_tierN/nodelist
|
|
Date: August 2022
|
|
Contact: Linux memory management mailing list <[email protected]>
|
|
Description: Directory with details of a specific memory tier
|
|
|
|
This is the directory containing information about a particular
|
|
memory tier, memtierN, where N is derived based on abstract distance.
|
|
|
|
A smaller value of N implies a higher (faster) memory tier in the
|
|
hierarchy.
|
|
|
|
nodelist: NUMA nodes that are part of this memory tier.
|
|
|