mmap()/shmget(): use Linux default huge page size when not specified

Change-Id: I8a9e3bed65ac1902adfaeaa254597dd30f540319
This commit is contained in:
Balazs Gerofi
2019-06-05 16:07:34 +09:00
committed by Masamichi Takagi
parent e9955a4bba
commit 089b443aaf
4 changed files with 12 additions and 5 deletions

View File

@ -211,6 +211,7 @@ 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_linux_default_huge_page_shift(void);
int ihk_mc_get_memory_chunk(int id,
unsigned long *start,
unsigned long *end,