Skip to content
Snippets Groups Projects
Commit 274a7d48 authored by dtc's avatar dtc
Browse files

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.
parent 03b023ef
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment