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
How is process management done in multiprocessing systems ? There are two accost for the process management in multiprocessor systems. Master-slave configuration Sy

How is it different from the unbounded buffer algorithm ? Explain.

Safety algorithm : This is to make sure if the system is in safe state or not. It may need an order of m x n2 operation to determine if the state of the system is safe or not.

Which are the different states of a process?   Different status of a process is: New: When the process is created. Running: When instructions are executed. Wait

A- Consider a computer system that provides a virtual memory space that consists of 8  pages. The physical memory contains 4 pages where the page size is 4Kbytes. Assume that at sp

Placement algorithms :calculate where in available real-memory to execute a program. Common functions are next-fit, first-fit, and best-fit. Replacement algorithms :are

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 is the use of fork and exec system calls? Fork is a system call by which a latest process is created. Exec is also a system call, which is used after a fork by one of the

Thermostats are subjected to rigorous testing before they are shipped to air conditioning technicians around the world. Results from the last five samples are shown in the table. D

Linked list allocation using index The blocks don't have a fixed size. Pointers are utilized to point to the next block in a file. The pointers are set aside as a separate tabl