When a page fault occurs, the system must fetch the page from disk.
Does this mean that there is a page table stored on the hard drive for every running process (to fetch the page from)?
If yes, does the swap partition hold these page tables?
|
When a page fault occurs, the system must fetch the page from disk. Does this mean that there is a page table stored on the hard drive for every running process (to fetch the page from)? If yes, does the swap partition hold these page tables? | ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
The page table is stored in memory, the actual swapped out pages are stored in the swap file. The page table keeps track of which pages are stored in memory vs. the swap file and where they are located. Some pages of the page table MAY be virtualized as well. You can find more information on Wikipedia at http://en.wikipedia.org/wiki/Page_table. | |||
|
feedback
|