UNIX Programming and Technical

Q. What is Fork swap?

A. 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

Read Solution (Total 0)

UNIX Other Question

Q. What are the entities that are swapped out of the main memory while swapping the process out of the main memory?

A. All memory space occupied by the process, process's u-area, and Kernel stack are swapped out, theoretically. Practically, if the process's u-area contains the Address Translation Tables for the process then Kernel implementations do not swap the u-area.
What is Expansion swap?