Click here to Skip to main content
15,891,981 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: (untagged)
What is a pagefault and what does the OS do with it?
Posted
Updated 19-Dec-09 21:32pm
v2

Please buy a book instead of posting all of your homework questions here
 
Share this answer
 
A page fault is an exception that is raised by the Memory Management Unit on most computers. It occurs when there's been an access to an unmapped area of memory, or a process has tried to overreach itself by accessing another process' memory space.

The OS simply has to map in the area of memory (sometimes loading it from a swap file) or kill the offending process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900