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
Write a program that will input two numbers from the keyboard and execute each of the signed and unsigned multiply and divide instructions. For each instruction, the program shoul

Define CPU scheduling. CPU scheduling is the method of switching the CPU among several processes. CPU scheduling is the basis of multiprogrammed operating systems. By switching

Present your own fully documented and tested programming example illustrating the problem of unbalanced loads. Describe the use of OpenMP's scheduler as a means of mitigating this

Define the Server Communications Module or SCM The Server Communications Module (SCM) performs many necessary functions. The SCM responsible for establishing, maintaining, and

In this project, you will implement the Chandy and Misra's (CM) algorithm using POSIX Threads (Pthreads).   The algorithm  is a distributed algorithm to solve a generalized dining

How Virtual memory is implemented Virtual memory can be implemented along with Segmentation and Paging

Banker's Algorithm In this analogy Customers ≡ processes Units ≡ resources, say, tape drive Ba

What do you mean by best fit? Best fit allocates the smallest hole that is big sufficient. The entire list has to be searched, until it is sorted by size. This strategy creates

What is Demand paging? Virtual memory is commonly executed by demand paging. In demand paging, the pager brings only those essential pages into memory instead of swapping in a

What are the advantages of Indexed allocation? The benefits are a. No external-fragmentation problem b. Solves the size-declaration problems. c. Supports direct access