NUMA: expose correct NUMA distances in sysfs

This commit is contained in:
Balazs Gerofi
2016-10-27 14:29:15 +09:00
parent 059fab2cc0
commit f1af1ffb8f
3 changed files with 26 additions and 0 deletions

View File

@@ -243,9 +243,12 @@ struct cpu_topology {
struct list_head cache_list;
};
#define NODE_DISTANCE_S_SIZE 1024
struct node_topology {
struct ihk_node_topology *saved;
int mckernel_numa_id;
char mckernel_numa_distance_s[NODE_DISTANCE_S_SIZE];
cpumask_t cpumap;
struct list_head chain;