load M execution Operating System Back Store M Page Table i Physical Memory free frame Were is M? Status: reference By Afnan A. Al Subaihin
load M Operating System Back Store M Page Table i Physical Memory free frame Status: Oops! The page that contains M is invalid: issue a trap. reference By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table i Physical Memory free frame Status: Oops! The page that contains M is invalid: issue a trap. reference trap By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table i Physical Memory free frame Status: reference trap Problem can be solved: page is in backing store. By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table i Physical Memory free frame Status: reference trap Bring the missing page into memory. By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table i Physical Memory free frame Status: reference trap Page is now in memory: update it’s table entry. By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table Physical Memory free frame Status: reference trap Page is now in memory: update it’s table entry. v By Afnan A. Al Subaihin execution
load M Operating System Back Store M Page Table Physical Memory free frame Status: reference trap v Now, restart the instruction to execute it properly By Afnan A. Al Subaihin execution restart

Handling Page Fault

  • 1.
    load M executionOperating System Back Store M Page Table i Physical Memory free frame Were is M? Status: reference By Afnan A. Al Subaihin
  • 2.
    load M OperatingSystem Back Store M Page Table i Physical Memory free frame Status: Oops! The page that contains M is invalid: issue a trap. reference By Afnan A. Al Subaihin execution
  • 3.
    load M OperatingSystem Back Store M Page Table i Physical Memory free frame Status: Oops! The page that contains M is invalid: issue a trap. reference trap By Afnan A. Al Subaihin execution
  • 4.
    load M OperatingSystem Back Store M Page Table i Physical Memory free frame Status: reference trap Problem can be solved: page is in backing store. By Afnan A. Al Subaihin execution
  • 5.
    load M OperatingSystem Back Store M Page Table i Physical Memory free frame Status: reference trap Bring the missing page into memory. By Afnan A. Al Subaihin execution
  • 6.
    load M OperatingSystem Back Store M Page Table i Physical Memory free frame Status: reference trap Page is now in memory: update it’s table entry. By Afnan A. Al Subaihin execution
  • 7.
    load M OperatingSystem Back Store M Page Table Physical Memory free frame Status: reference trap Page is now in memory: update it’s table entry. v By Afnan A. Al Subaihin execution
  • 8.
    load M OperatingSystem Back Store M Page Table Physical Memory free frame Status: reference trap v Now, restart the instruction to execute it properly By Afnan A. Al Subaihin execution restart