The mmap
manpage on Darwin specifies that in order to use mmap
with superpages (the Darwin equivalent of Linux's huge pages), the VM_FLAGS_SUPERPAGE_SIZE_*
flags should be used.
I'm trying to use this functionality in Rust, but I can't find these constants in either of the Rust libc versions for Darwin (i686, x86_64).