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?

Structures for a file''s data, Q. Likewise some systems support many types ...

Q. Likewise some systems support many types of structures for a file's data while others simply support a stream of bytes. What are the merits in addition to demerits? Answer:

Starvation, what do you mean by starvation?explain in detail

what do you mean by starvation?explain in detail

Tlb replacement algorithm, Suppose a logical address space is 1KB, and the ...

Suppose a logical address space is 1KB, and the page-size is 16 bytes. Assume no page is in the main memory for this process initially and the pure demand paging is used. Current f

How can the index blocks be implemented, How can the index blocks be implem...

How can the index blocks be implemented in the indexed allocation scheme? The index block can be implemented as follows a. Multilevel scheme b. Linked scheme c. Combin

Explain second-chance algorithm, Second-Chance algorithm When a page ha...

Second-Chance algorithm When a page has been selected, we inspect its reference bit. If the value is 0, we proceed to replace this page. If the reference bit is set to 1, thoug

What is busy waiting, What is busy waiting? The repeated implementation...

What is busy waiting? The repeated implementation of a loop of code while waiting for an event to happen is known as busy-waiting. The CPU is not engaged in any actual producti

Explain acyclic graph directories and its implementation, Acyclic Graph Dir...

Acyclic Graph Directories In this kind of directory structure the shared directories or files can exist in the file system in two or more places at once. A tree structure excl

Virtualization, What factors are involved in choosing the host operating sy...

What factors are involved in choosing the host operating system?

What are the two types of fragmentations, Questiion 1 Use Priority Sche...

Questiion 1 Use Priority Scheduling Algorithm to schedule the following processes        Process                 Burst Time             Priority/Time            P1

Explain how situation can be solved using active directory, Question: a...

Question: a) Windows Server 2003 has brought great enhancements the Server System as compared to the previous version. Write down short notes on the below listed enhancements.

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