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

@ -171,6 +171,7 @@ uint64_t ihk_mc_pt_virt_to_pagemap(struct page_table *pt, unsigned long virt);
int ihk_mc_get_nr_numa_nodes(void);
struct smp_coreset;
int ihk_mc_get_numa_node(int id, int *linux_numa_id, int *type);
int ihk_mc_get_numa_distance(int i, int j);
int ihk_mc_get_nr_memory_chunks(void);
int ihk_mc_get_memory_chunk(int id,
unsigned long *start,