Question: Consider two processes P1 and P2 in a purely segmented system (i.e. no paging). Their current segment tables contain the following entries (segment lengths are

Consider two processes P1 and P2 in a purely segmented system (i.e. no paging). Their current segment tables contain the following entries (segment lengths are not shown): 1. Which segments are shared, if any? 2. Which of the following virtual addresses would be illegal when used by an instruction in the segment at location 6000: (0, 0) (1, 0) (2, 0) (3, 0) (4, 0) (5, 0)? Explain. 3. The segment at location 7000 is swapped out and later reloaded at 8000. Similarly, the segment at location 2000 is swapped out and reloaded at 1000. Show the new segment tables 4. A third process, P3, wishes to share the segments at locations 2000, 4000, and 6000. Which of these must be data segments (as opposed to procedures) to make this possible
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
