In-class notes for 10/23/2019
CS 273 (OS), Fall 2019
HW9 due today. Questions?
HW10 due Friday.
Tasks A-F of project development
Tasks A-J are now available, as well as Tasks Q and R. (Feedback welcome...)
Review questions
Upcoming: implementation of memory management in the kernel; file systems
Paging (Virtual Memory)
Page replacement algorithms
Exercise (at the board)
Assume 8 page frames, two processes with pages A1, A2, ... and B1, B2, ...
How many page faults are needed forA1 A2 A3 A4 A1 A2 A3 A4 \ / \ / \ / \ / \ / \ / \ / \ B1 B2 B1 B3 B1 B4 B1 B2
for FIFO? For NRU? (here, boldface indicates modification of a page)
< >