Question: Operating systems page table question: Suppose two processes need to be mapped into main memory using pages. Process P1 consists of 7 pages, and process
Operating systems page table question:
Suppose two processes need to be mapped into main memory using pages. Process P1 consists of 7 pages, and process P2 consists of 4 pages. Assume main memory consists of 16 frames, a logical page is the same size as a physical frame, and that 4 entries in a page table fills up a frame of memory. Assume also that within the process' allocated address spaces, there are two pages of shared code 'X' and 'Y' common to both address spaces.
Design a memory management system that can store these two processes and their page tables in RAM. Identify which frames you have chosen to assign to which process pages and page tables in main memory/RAM. Also show possible page tables for P1 and P2. (e.g. page table for P1 should have 7 entries).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
