Take the 2-minute tour ×

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?

share|improve this question

migrated from stackoverflow.com Dec 27 '11 at 14:08

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

