The "too small to fail" memory-allocation rule
The "too small to fail" memory-allocation rule
Posted Dec 25, 2014 18:44 UTC (Thu) by quotemstr (subscriber, #45331)In reply to: The "too small to fail" memory-allocation rule by epa
Parent article: The "too small to fail" memory-allocation rule
> The child process will be given a copy of that buffer and will jump to the function given
vfork does what you want. The "child" shares memory with the parent until it calls exec, so you avoid not only the commit charge catastrophe of copy-on-write fork, but also gain a significant performance boost from not having to copy the page tables.