2 ms·
If I'm reading this right it should also allow memory overcommit to be disabled.
by wmf 4y ago
If I'm reading this right it should also allow memory overcommit to be disabled.
- scottlamb 4y agoEvery large process using vfork/posix_spawn/io_uring_spawn instead of fork would eliminate one reason to keep overcommit enabled. I think there are at least some niche cases in which folks would still want it on. For example, some processes may rely on anonymous mappings being cheap until first write via Linux's "empty_zero_page". IIRC, they once tried to remove this concept but put it back in. Some context here: https://lwn.net/Articles/340370/ https://lwn.net/Articles/340370/