aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2023-01-20 13:57:26 +0800
committerGreg Kroah-Hartman <[email protected]>2023-01-20 14:15:00 +0100
commit7c09f4281cb6ec0fc202f53924ed6c389c61bf0e (patch)
treefc50740429024ac5b92d5d10889ae65eda12866e /tools/perf/scripts/python/bin
parentf7d85515bd21902b218370a1a6301f76e4e636ff (diff)
drivers/base/memory: Fix comments for phys_index_show()
According to 'admin-guide/mm/memory-hotplug.rst', the memory block ID, instead of the section index, is shown by '/sys/devices/system/memory/ memoryX/phys_index'. Fix the comments to match with 'admin-guide/mm/memory-hotplug.rst'. Besides, use the existing helper memory_block_id() to convert the section index to the memory block index. No functional change intended. Signed-off-by: Gavin Shan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions