Describe the actions taken by the operating system when a page fault occurs?



Describe the actions taken by the operating system when a page fault occurs?..

Answer / Divya Chaudhary

The operating system takes several steps when a page fault occurs. First, it suspends the process causing the page fault, switches to the kernel mode and searches for the requested page in main memory or secondary storage (like disk). If found, it loads the page into the required location in main memory and resumes the suspended process. If not found, it requests the page from the secondary storage, which can take longer. The page is then loaded into the free frame in main memory, and the suspended process resumes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What are the deadlock avoidance algorithms?

1 Answers  


What are ddks?

1 Answers  


What does echo $$ do?

1 Answers  


What is a volatile keyword?

1 Answers  


What is ex and vi?

1 Answers  


What is raid? What are the different raid levels?

1 Answers  


Discuss the various function of OS.

6 Answers   HCL, Spectrum, Spectrum Solutions,


for an application which exceeds 64k the memory model should be a)medium b)huge c)large d)none

3 Answers   Nokia,


Can chkdsk repair bad sectors?

1 Answers  


Why is interrupt vector used in operating systems?

1 Answers  


A 12 address lines maps to the memory of [a] 1k bytes [b] 0.5k bytes [c] 2k bytes [d] none

10 Answers   Wipro,


Why would a parent process terminate a child process?

1 Answers  


Categories