When Kernel swaps the process out of the primary memory, it performs
the following:
Ø Kernel decrements the Reference Count of each region of the process.
If the reference count becomes zero, swaps the region out of the main memory,
Ø Kernel allocates the space for the swapping process in the swap
device,
Ø Kernel locks the other swapping process while the current swapping
operation is going on,
Ø The Kernel saves the swap address of the region in the region table.
No comments:
Post a Comment