answersLogoWhite

0


Best Answer

the OS handles it by writing a page fault interrupt handler. The first thing the page fault handler will need to do is to determine the address of the page fault; you can find out this address by calling the Get_Page_Fault_Address() function (prototype in . Also, the errorCode field of theInterrupt_State data structure passed to the page fault interrupt handler contains information about the faulting access. This information is defined in the faultcode_t data type defined in. Once the fault address and fault code have been obtained, the page fault handler will need to determine an appropriate action to take

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What Actions are taken by operating system when page fault occurs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

What is demand paging in operating system?

It is a memory managermnet concept where the operating system copies the dats from the disk space to the main memory (RAM) only when is trying to access the page. it is like we have to attempt the page again, when the page fault has occured while trying to get the data.


What are the steps which are taken when a page fault occurs?

lawra


What are the basic principles of how the mechanical equipment functions and what is its operating sequence?

carrying out fault diagnosis on engineered systems- describe the basic principles of how the system functions, and the working purpose of variouis integrated systems


6 Describe the differences between symmetric and asymmetric multiprocessing?

Asymmetric multiprocessing - In asymmetric multiprocessing (ASMP), the operating system typically sets aside one or more processors for its exclusive use. The remainder of the processors run user applications. As a result, the single processor running the operating system can fall behind the processors running user applications. This forces the applications to wait while the operating system catches up, which reduces the overall throughput of the system. In the ASMP model, if the processor that fails is an operating system processor, the whole computer can go down. Symmetric mMultiprocessing - Symmetric multiprocessing (SMP) technology is used to get higher levels of performance. In symmetric multiprocessing, any processor can run any type of thread. The processors communicate with each other through shared memory. SMP systems provide better load-balancing and fault tolerance. Because the operating system threads can run on any processor, the chance of hitting a CPU bottleneck is greatly reduced. All processors are allowed to run a mixture of application and operating system code. A processor failure in the SMP model only reduces the computing capacity of the system. SMP systems are inherently more complex than ASMP systems. A tremendous amount of coordination must take place within the operating system to keep everything synchronized. For this reason, SMP systems are usually designed and written from the ground up.


What about multiprogramming?

Multiprogramming is a rudimentary form of parallel processing in which several programs are run at the same time on a uniprocessor. Since there is only one processor, there can be no true simultaneous execution of different programs. Instead, the operating system executes part of one program, then part of another, and so on. To the user it appears that all programs are executing at the same time. If the machine has the capability of causing an interrupt after a specified time interval, then the operating system will execute each program for a given length of time, regain control, and then execute another program for a given length of time, and so on. In the absence of this mechanism, the operating system has no choice but to begin to execute a program with the expectation, but not the certainty, that the program will eventually return control to the operating system. If the machine has the capability of protecting memory, then a bug in one program is less likely to interfere with the execution of other programs. In a system without memory protection, one program can change the contents of storage assigned to other programs or even the storage assigned to the operating system. The resulting system crashes are not only disruptive, they may be very difficult to debug since it may not be obvious which of several programs is at fault.

Related questions

What page fault in operating system?

a page fault is a hardware or software interrupt,it occurs when an access to a page that has not been brought into main memory takes place.


What is a fuel system fault?

That's when the fuel system is not operating as designed.


What is fault voltage?

It is simply the voltage of the system before the fault occurs.. Most probably this is the voltage of healthy system...


What is pre-fault voltage?

It is simply the voltage of the system before the fault occurs.. Most probably this is the voltage of healthy system...


What actions are taken by operating system when page fault occurs with diagram?

the OS handles it by writing apage fault interrupt handler. The first thing the page fault handler will need to do is to determine the address of the page fault; you can find out this address by calling theGet_Page_Fault_Address()function (prototype in. Also, theerrorCodefield of theInterrupt_Statedata structure passed to the page fault interrupt handler contains information about the faulting access. This information is defined in thefaultcode_tdata type defined in. Once the fault address and fault code have been obtained, the page fault handler will need to determine an appropriate action to takeRate This Answer


When does page fault occur?

A page fault occurs when a program accesses a memory page that is not currently in physical memory (RAM). This triggers the operating system to fetch the required page from secondary memory (disk) into RAM, allowing the program to continue execution.


What fault occurs at convergent boundarys?

A reverse fault


What fault occurs at a divergent boundary?

The type of fault that generally occurs at a divergent boundary is a strike-slip fault. It is also referred to as a transform fault.


When do page Page fault occur?

The Page Fault does occurs when there is unexpected event that has occurred in Windows. When the Page Fault occurs it is not possible for the hardware to function.


What fault occurs at a convergent boundary.?

A reverse fault


This type of fault occurs when rock above the fault moves upward at the fault line?

Reverse Fault


What is Fault tort liability system?

The fault tort liability system is a legal framework where individuals can be held financially responsible for their actions or omissions that cause harm to others. In this system, liability is based on proving that the party at fault acted negligently or wrongfully, leading to damages or injuries to the victim. This system aims to compensate the injured party for their losses and deter wrongful behavior.