Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.