NUMA: receive CPU info in array format

This commit is contained in:
Balazs Gerofi
2016-10-12 19:38:33 +09:00
parent f33d85a27a
commit 167ea67dee
2 changed files with 7 additions and 17 deletions

View File

@ -170,13 +170,12 @@ 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,
struct smp_coreset **cpu_hw_ids);
int ihk_mc_get_numa_node(int id, int *linux_numa_id, int *type);
int ihk_mc_get_nr_memory_chunks(void);
int ihk_mc_get_memory_chunk(int id,
unsigned long *start,
unsigned long *end,
int *linux_numa_id);
int *numa_id);
void remote_flush_tlb_cpumask(struct process_vm *vm,
unsigned long addr, int cpu_id);