What is page fault and how to remove page fault?, Operating System

Assignment Help:

What is page fault and what are the steps taken by the OS to remove page fault?

A page fault is caused while a page that hasn't been brought into memory is being addressed. The paging hardware now origins a page fault trap. This trap is a result of the OS malfunction to bring the desired page into memory. The procedure to eliminate the fault is

1. A confirms is made to see whether the reference is valid.

2. If reference is unacceptable then process is terminated else the page is brought into memory.

3. A free frame is found as well as a disk schedule is prepared to read the desired page into    frame.

4. When complete page table is updated along with the interrupted instruction is restarted.

 


Related Discussions:- What is page fault and how to remove page fault?

Synchronization, What is the different between basic synchronization and hi...

What is the different between basic synchronization and high level synchronization

Linear Programing, . A paper mill produces two grades of paper viz., X and ...

. 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

Requirements to satisfied by the critical section problem, What are the req...

What are the requirements to be satisfied by the critical section problem? Following are the necessities to be satisfied by the critical section problem: a)      Mutual exc

What is the benefits os co-operating process, What is the benefits OS co-op...

What is the benefits OS co-operating process? Information sharing. Computation speeds up. Modularity. Convenience.

Difference between preemptive and nonpreemptive scheduling, Define the diff...

Define the difference between preemptive and nonpreemptive scheduling. State why strict nonpreemptive scheduling is unlikely to be used in a computer center. Preemptive schedul

Control the access of the three global variables, Give a brief introduction...

Give a brief introduction about the operation of your program and show that you understand the idea behind threads and mutual exclusion variable. Why do we need to use mutual exclu

Write a short note about the different states of a process, Write a short n...

Write a short note about the different STATES of a process. As a process implement it changes state. The state of a process is described in part by the current activity of that

Describe paging algorithm needs a reference bit, Q. Suppose that you want ...

Q. Suppose that you want to utilize a paging algorithm that requires a reference bit (such as second-chance replacement or working-set model) however the hardware does not provide

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd