Difference between the fork() and vfork() system call.fork: Both the parent and child share all of the page tables until any one of them does a write. Then paging will create private page copy of the dirty page for the purpose of modifying process. This process is done on demand.
vfork - In this system call until child exits or execs, the parent will be suspended. The memory and stack are shared by the child.
|