Any way to reserve but not commit memory in linux? June 12, 2023 by Tarik mmap a special file, like /dev/zero (or use MAP_ANONYMOUS) as PROT_NONE, later use mprotect to commit.