



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Operating Systems; Subject: Computer Science; University: University of San Diego; Term: Unknown 1989;
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Paging Paging uses fixed size units for physical and virtual memory. A single job might get more than one unit
Page 1 Page 3 Page 2 Page N Virtual Memory Physical Memory Paging Mapping from VM to PM invisible to program Must provide protection:
Page Table Illustration Physical memory Page frame Offset Physical Address Page number Offset Virtual Address Page frame Page Table Paging Example Pages are 4K
Virtual Address is 0x
Look up page number in page table to get page frame (let’s say it’s 0x16000) What is the PA?
Another example Draw the page table that corresponds to the following mappings:
Structure of a PTE
Modify bit says whether or not the page has been written Reference bit says whether or not page has been accessed Valid bit says whether or not the PTE can be used The Protection bits say what operations are allow on page (R, W, X) The page frame number (PFN) determines physical page
Segmentation Partition memory into logically related units Instead of Page number and offset, use Segment number and offset Segments can be different sizes