Operating System (OS) Question:
Download Questions PDF

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

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) Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?Explain page cannibalizing?