CITS2002 Systems Programming  
prev
next CITS2002 CITS2002 schedule  

Virtual Memory Hardware using Page Tables

We saw that with simple paging, each process has its own page table entries. When a process's (complete) set of pages were loaded into memory, the current (hardware) page tables were saved and restored by the operating system.

Using virtual memory, the same approach is taken, but the contents of the page tables becomes more complex. Page table entries must include additional control information, indicating at least:

  • if the page is present in physical memory (a P bit), and

  • if the page has been modified since it was brought into physical memory (an M bit).


Address Translation in a Paging System

 


CITS2002 Systems Programming, Lecture 14, p5, 12th September 2023.