Operating System (OS) Question: Download Operating System (OS) PDF

Can you please explain the difference between demand-paging and pre-paging?

Tweet Share WhatsApp

Answer:

With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution. With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.

Download Operating System (OS) PDF Read All 74 Operating System (OS) Questions
Previous QuestionNext Question
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?Explain page cannibalizing?