Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space
Apparently, the virtual memory should hold all the pages of his processes.
My question is whether on running a process, all the pages of a process are loaded in the swap space from their original location in hard disk.
What are the factors that determine when a page will be loaded in the swap space?