Have os_validate pass the MAP_NORESERVE flag to mmap. This allows
users with low swap plus memory to run without enabling the non-standard and perhaps undesirable overcommit_memory option. With this change the current scheme of splitting mmap operations into smaller pieces to bypass the kernel checks is no longer necessary, and this code has been cleaned up.
Please register or sign in to comment