What is Fork swap?For creation of child process, fork() system call is invoked. At the time of processing the fork() call by parent, the child process is created. In case of shortage of memory, the child process will be sent to the read-to-run state in the swap device. It returns to the user state without performing the swapping the state of parent. Once the memory is available, the child process swapping is done into the main memory.
|