diff options
author | Prarit Bhargava <prarit@redhat.com> | 2018-06-01 10:04:30 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2018-06-01 23:12:46 -0400 |
commit | ef6057417a6f770dfc2f1f551763cedb4d93a9cf (patch) | |
tree | 09d5d7274e29e43cee562ed8ad93e8681b0a4d2a /mm/page_ext.c | |
parent | 0e2d8f058f9924c373ee7061064936cd582bcbe7 (diff) | |
download | op-kernel-dev-ef6057417a6f770dfc2f1f551763cedb4d93a9cf.zip op-kernel-dev-ef6057417a6f770dfc2f1f551763cedb4d93a9cf.tar.gz |
tools/power turbostat: Calculate additional node information for a package
The code currently assumes each package has exactly one node. This is not
the case for AMD systems and Intel systems with COD. AMD systems also
may re-enumerate each node's core IDs starting at 0 (for example, an AMD
processor may have two nodes, each with core IDs from 0 to 7). In order
to properly enumerate the cores we need to track both the physical and
logical node IDs.
Add physical_node_id to track the node ID assigned by the kernel, and
logical_node_id used by turbostat to track the nodes per package ie) a
0-based count within the package.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions