This is a little tricky, since we only know we want hugetlbfs after memory has been initialized, so we start up in anonymous memory, and later switch to hugetlbfs by copying it to hugetlb-backed memory and mremap()ing it back into place.
1.3 KiB
1.3 KiB