Section 12.2: Virtual Memory in Action (Frame 5)                     [prev][home][     ]

Later, page 0 is needed again, at which point it is copied back in, perhaps into the frame now occupied by page 6. Since page 6 was modified in memory, we say it is dirty. Dirty pages must be copied back out to disk whenever the frame they sit in is given over to a new page, or else the changes will be lost.


Fig. 12.2.4: After evicting the dirty page 6

This process continues until the program finishes.