[Solved]-Question 1 Hardware Mechanism Essential Implementing Paging Based Virtual Memory Direct Me Q37164195
QUESTION 1
- Which hardware mechanism is essential for implementingpaging-based virtual memory?
Direct memory access (DMA).
Timer.
Translation lookaside buffer (TLB).
Exceptions.
QUESTION 2
- Put the page replacement steps in the right order.
-1.2.3.4.5.6.
Locate the missing page in the secondary storage.
-1.2.3.4.5.6.
Replace the victim page with the replacement page and update thepage table.
-1.2.3.4.5.6.
Locate the victim page in the RAM and save it, if necessary.
-1.2.3.4.5.6.
Identify the logical (virtual) address that caused thefault.
-1.2.3.4.5.6.
Restart the instruction that caused the fault.
-1.2.3.4.5.6.
Invoke the page fault handler.
QUESTION 3
- Which POSIX function protects a page in the RAM from beingreplaced? (You may need to read respective man pages.)
mlock()
msync()
mmap()
mprotect()
Expert Answer
Answer to QUESTION 1 Which hardware mechanism is essential for implementing paging-based virtual memory? Direct memory access (DMA… . . .
OR

