answersLogoWhite

0


Best Answer

A page fault in any operating system will occur when a reference to memory indicates that the actual information has been paged out to disk, and is not available in memory at the present time.

When the page fault occurs, the system has to swap that page back into memory before it can reference the memory location. This is how virtual memory was implemented.

Page faults should be transparent to the program; it doesn't know or care if the memory was resident or not, since the net effect is to make that memory available to the program, whether it was paged out or not.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

In modern operating systems, memory is allocated in discrete chunks, called pages. Whenever a program desired more memory, the operating system will provide it with space which is an integer multiple of the OS's page size. Pages can vary significantly depending on the hardware and OS settings, from 4 kilobytes to up to 2 gigabytes in size.

Modern systems use a concept called virtual memory, where the memory "space" doesn't automatically have to correspond to the amount of physical RAM in the system. Instead, the OS will allocate a memory page from this virtual space, and use whatever hardware is has to actually store it on. Thus, a memory page can be stored in RAM, or on flash disk, or a hard drive, or any other storage device designed for what is known as "backing store" (literally, what is "backing" the memory page).

Since only actual dynamic RAM is suitable for active manipulation, only pages which are in RAM can be used for work. When a process want to access a memory page that ISN'T stored in DRAM, but instead stored on hard drive (or flash, etc.), the OS generates a page fault. The page fault is a system call which tells the Virtual Memory subsystem of the OS to move the requested memory page from hard disk into DRAM (and, possibly move a page from DRAM onto hard drive).

So, in short, a page fault is a system call to move a memory page from hard drive into main memory.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an explanation of the term 'page fault'?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 do you mean by page-fault. when do page-fault occur. describe the action taken by the OS when page fault occurs?

If a process tries to access a page which is not present in memory or was not brought into memory. access to such page marked as invalid in page table.


What is a page fault?

A page fault is an alert, such as an interrupt or exception, which indicates that a page of memory was accessed without being loaded.


What Actions are taken by operating system when page fault occurs?

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


What is paging fault?

A page fault is an alert, such as an interrupt or exception, which indicates that a page of memory was accessed without being loaded.


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 the term for a sensible explanation to a problem?

What is the scientific term for a sensible explanation to a problem


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


Identify and provide explanation of a Generic Cyclic Fault Finding Method?

There is no answer to this question.


What is a fault in track and field?

Using the term fault in basketball is the same as using the term foul. It means that you touched someone while they had the ball in their hands.


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

lawra


What happen if page fault increases?

you'l die