commit | c2f970c32b527660a33fa513a76d913c812dcf7c | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu May 05 17:45:02 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu May 05 18:56:17 2016 -0700 |
tree | b0593fac905797fa543ac77aa5ebd9e1160cb67f | |
parent | dc391adc6577b4ed0dac0ce3b1778473e67e4c17 [diff] |
Modify pages_map() to support mapping uncommitted virtual memory. If the OS overcommits: - Commit all mappings in pages_map() regardless of whether the caller requested committed memory. - Linux-specific: Specify MAP_NORESERVE to avoid unfortunate interactions with heuristic overcommit mode during fork(2). This resolves #193.