News for hackers. Stuff that matters.
Re:When the memory allocator works against you by haldean on Sunday March 12, 2017 @01:42PM (#13851878)
No, all of the child's memory mappings are shared with its parent. Upon write, though, that becomes a new committed mapping; I believe the entire page is copied, so you could end up committing another 4k with a one-byte write from the child.
Re:When the memory allocator works against you by gcr on Sunday March 12, 2017 @09:08PM (#13854453)
Hm. Then suppose I turn off the OOM killer. What happens to a process that writes to its parent's page if the system has no memory left to commit?