Re:Linux Memory Overcommit (2007)
by wmf on Sunday August 18, 2024 @06:57PM
(#41286227)
Fork is copy-on-write. The problem is that there's no way for fork() to know how much memory the child process needs. It might call exec() immediately, using very little memory. It might keep running, mostly sharing pages with the parent. It might touch every memory page, requiring a lot of memory.
[ Parent
| on HN ]
There are no comments on this comment yet.