Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A system has 32-bit virtual addresses, 512 MB of physical memory and 1 MB pages. The operating system has the following page table for a
A system has 32-bit virtual addresses, 512 MB of physical memory and 1 MB pages. The operating system has the following page table for a process (only the first eight entries are shown). Assume that all physical memory is allocated and in use. VPN (binary) | Valid Bit | PPN (binary) or Disk Address 0000 0000 0000 0 1010 0011 0000 0000 0001 sector 94... 0000 0000 0010 0 1110 0000 0000 0000 0011 sector 326... 0000 0000 0100 sector 38.... 0000 0000 0101 0 0011 1100 0000 0000 0110 0 1001 0111 0000 0000 0111 sector 27... The following virtual memory addresses are accessed (read from) in the order presented. Show the physical addresses each one corresponds to. There will be no changes to the page table, i.e., no page faults for the given addresses. OOOOH - 0000 0000 0110 0000 0000 0000 0000 0000 - 0000 0000 0000 0010 0011 0100 0101 0110 - 0000 0000 0101 1010 0000 1111 0000 1010 - 0000 0000 0010 0110 1010 0010 1100 1010 List at least one virtual memory address access that will result in a page fault. Explain why accessing that address results in a page fault, and what happens on the page fault. Show the effects of the page fault in the page table. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started