CSE 451 Homework Assignment #3 Out: May 11, 2000 Due: May 17, 2000 #1. Describe the fundamental differences between a segmented system and a paged system. #2. Assume we have a system with two processes P1 and P2 sharing a common physical page but not necessarily at the same virtual address. P1 has a variable called X allocated in this shared page and sets X to point to itself. void *X; X = &X; a) What problem(s) can be encountered with scheme if P2 wants to share X with P1? b) (Unrelated to part a) Propose a method where P1 and P2 can share pages at different virtual addresses and still share pointers. #3. In class we discussed how a "modified page writer" process can be used to periodically write out modified pages. A similar scenario can be used to generate zeroed pages. Describe the pro(s) and con(s) of being too aggressive or too timid with making zeroed pages.