4

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).

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
joshlf
  • 21,822
  • 11
  • 69
  • 96

0 Answers0