Searched refs:thp_area_size (Results 1 – 1 of 1) sorted by relevance
256 const size_t thp_area_size = nr_thps * pmd_pagesize; in split_pte_mapped_thp() local261 thp_area = mmap((void *)(1UL << 30), thp_area_size, PROT_READ | PROT_WRITE, in split_pte_mapped_thp()268 madvise(thp_area, thp_area_size, MADV_HUGEPAGE); in split_pte_mapped_thp()270 for (i = 0; i < thp_area_size; i++) in split_pte_mapped_thp()338 munmap(thp_area, thp_area_size); in split_pte_mapped_thp()