DEVFYI - Developer Resource - FYI

What is Fork swap?

Unix Interview Questions


(Continued from previous question...)

39. What is Fork swap?

fork() is a system call to create a child process. When the parent process calls fork() system call, the child process is created and if there is short of memory then the child process is sent to the read-to-run state in the swap device, and return to the user state without swapping the parent process. When the memory will be available the child process will be swapped into the main memory.

(Continued on next question...)

Other Interview Questions