Action taken by the operating system when a page fault occur, Operating System

Q. Under what conditions do page faults occur? Explain the actions taken by the operating system when a page fault occurs.

Answer: A page fault take places when an access to a page that has not been brought into main memory takes place. The operating system authenticates the memory access aborting the program if it is invalid. If it is valid a free frame is located as well as I/O is requested to read the needed page into the free frame. Upon completion of I/O the process table as well as page table are updated and the instruction is restarted.

Posted Date: 7/29/2013 12:41:50 AM | Location : United States







Related Discussions:- Action taken by the operating system when a page fault occur, Assignment Help, Ask Question on Action taken by the operating system when a page fault occur, Get Answer, Expert's Help, Action taken by the operating system when a page fault occur Discussions

Write discussion on Action taken by the operating system when a page fault occur
Your posts are moderated
Related Questions
Explain the concept of Reentrancy? It is a useful, memory-saving method for multiprogrammed timesharing systems. A Reentrant Procedure is one in which many users can share a si

Write a Perl script assignGrades.pl to assign letter grades to the students.

list the prevention of mechanism for race condition with operating system

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Q. Explain about Error detection method? Error detection: error can occur in CPU, in I/O devices or in memory hardware. Operating system constantly needs to be aware of possi

What are the different accessing methods of a file? The different types of accessing a file are: Sequential access: Information in the file is accessed sequentially

What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment? The main difficulty is keeping the operating system with


how to solve queing theory step by step

Buddy system of memory allocation Free memory is used to maintain in linked lists, each of similar sized blocks. Every block is of size 2^k. When some memory is needed by a th