NUMA: process CPU NUMA information

This commit is contained in:
Balazs Gerofi
2016-09-18 03:15:25 -04:00
parent 2929fbb803
commit 3ae69d1290
3 changed files with 17 additions and 5 deletions

View File

@@ -501,7 +501,7 @@ static void numa_init(void)
for (i = 0; i < ihk_mc_get_nr_numa_nodes(); ++i) {
int linux_numa_id, type;
ihk_mc_get_numa_node(i, &linux_numa_id, &type);
ihk_mc_get_numa_node(i, &linux_numa_id, &type, NULL);
memory_nodes[i].id = i;
memory_nodes[i].linux_numa_id = linux_numa_id;
memory_nodes[i].type = type;