Under what circumstances do page fault occur? Describe the action taken by operating system when page fault occurs
 
  
  
 
 
  
   
    
     
      
- 
        .
 A page fault occurs when an access to a page that has not been brought into main memory takes
place. The operating system verifies the memory access, aborting the program if it is invalid. If it
is valid, a free frame is located and I/O is requested to read the needed page into the free frame.
Upon completion of I/O, the process table and page table are updated and the instruction is
restarted.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0 comments:
Feel free to contact the admin for any suggestions and help.