swapin
Swapin is the process by which a memory page that has been moved to secondary storage is loaded back into main memory. It is the counterpart to swapout. In systems that use virtual memory, pages may be written to swap space to free RAM for active processes, and later swapped back in when they are accessed again. Swapin occurs when a page fault references a swapped-out page, prompting the operating system to recover it from storage.
When swapin happens, the operating system locates the page within the swap area, allocates a free physical
Swapin is slower than regular RAM access because it requires disk I/O. High levels of swap activity
In modern operating systems, swapin is an integral part of memory management, interacting with swapout, page
See also: swapout, page fault, swap cache, swappiness, zram.