Saturday, 13 August 2016

fork() vs vfork()

fork()
The only overhead incurred by fork() is the duplication of the parent’s page tables
and the creation of a unique process descriptor for the child.

vfork()
The vfork() system call has the same effect as fork() , except that the page table entries
of the parent process are not copied.

No comments:

Post a Comment