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 are file sharing and protection implemented? To implement file protection and sharing, the system ought to maintain more file and directory attributes than are needed on a

A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions, it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper i

Question: (a) (i) What is a microkernel? Describe the benefits of using microkernels. (ii) How does a microkernel-based operating system differ from a traditional operating

Problem: a) Prepare a short note on the standard Linux File System. b) Prepare a short note on the RPM Package Management Tool. c) Briefly explain the two types of login

Overlay structured program: A program consisting of overlays is referred as overlay structured program in which an overlay is a part of program which has similar load origin as

Explain the ThreadSwitch function used in the netware Since NetWare 3 and 4 are nonpreemptive environments, it may be necessary for the application developer to explicitly reli

Explain the different sections of a process.     Entry section     Critical section     Exit section     Remainder section Consider a system inclusive of n processe

Explain DosCreateThread Functions Used in the OS/2  DosCreateThread(&threadID,MyThreadFunction,arg,flags,stackSize) DosCreateThread creates a thread within the context of th

Q. Describe why SSTF scheduling tends to favour middle cylinders over the innermost and outermost cylinders. Answer: The middle of the disk is the location having the smalles

Write a note on multithreading. Multithreading is the capability of an operating system to execute different parts of a program called as threads, at the same time. The program