Explain the phases of swapping a page from the memory.The phases of swapping a page from the memory are:
The eligibility for swapping a page will found by the page stealer and the page number available in the list of pages will be swapped.
The page is copied by the kernel to a swap device and the valid bit available in the page table entry clearance is done. The pfdata reference count will be decremented and the pfdata table entry is placed at the end of the free list in case its reference count is 0.
|