Question: T 6 . 2 a: A page fault handler has to deal differently with two types of pages when it comes to eviction and loading
Ta: A page fault handler has to deal differently with two types of pages when it comes to eviction and loading of pages frominto physical memory:
named entries memory mapped files, such as code of a program
anonymous mappings page not backed by a file, such as the heap and stack of a program
Which of the following statements is true?
Named entries contain important data that always needs to be written back to disk before dropping the page.
Memory mapped files are always mapped read only, whereas anonymous mappings can be used for writable memory.
Anonymous mappings with modifications have to be written to a page file or swap device before eviction.
A page that was evicted from physical memory needs to be loaded to exactly the same physical memory address if a user program accesses that page again after the eviction.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
