







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; Professor: Hollingsworth; Class: Operating Systems; Subject: Computer Science; University: University of Maryland; Term: Spring 2004;
Typology: Study notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!








z
z
z
z
z
z
z
z
z
NOACCESS: attempts to read, write or execute will cause an accessviolation
-^
READONLY: attempts to write or execute memory in this region causean access violation
-^
READWRITE: attempts to execute memory in this region cause anaccess violation
-^
EXECUTE: Attempts to read or write memory in this region cause anaccess violation
-^
EXECUTE_READ: Attempts to write to memory in this region cause anaccess violation
-^
EXECUTE_READ_WRITE: Do anything to this page
-^
WRITE_COPY: Attempts to write will cause the system to give aprocess its own copy of the page. Attempts to execute cause accessviolation
-^
EXECUTE_WRITE_COPY: Attempts to write will cause the system togive a process its own copy of a page. Can’t cause an access violation
PageDirectory
Page Table
PageFrames
P ReferenceTo this page
Fault
Read from Disk
MakeEntry
Continue
z
z
z
z
z
z
Replace the page that was brought in longest ago
-^
However
-^
old pages may be great pages (frequently used)
-^
number of page faults may increase when one increases number ofpage frames (discouraging!)
z
Replace the page that will be used furthest in the future
-^
Good algorithm(!) but requires knowledge of the future
-^
With good compiler assistance, knowledge of the future issometimes possible
z
Replace the page that was brought in longest ago
-^
However
-^
old pages may be great pages (frequently used)
-^
number of page faults may increase when one increases number ofpage frames (discouraging!)
z
Replace the page that will be used furthest in the future
-^
Good algorithm(!) but requires knowledge of the future
-^
With good compiler assistance, knowledge of the future issometimes possible
access 1 - (1) fault
-^
access 2 - (1,2) fault
-^
access 3- (1,2,3) fault
-^
access 4 - (2,3,4) fault, replacement
-^
access 1 - (3,4,1) fault, replacement
-^
access 2 - (4,1,2) fault, replacement
-^
access 5 - (1,2,5) fault, replacement
-^
access 1- (1,2,5)
-^
access 2 - (1,2,5)
-^
access 3 - (2,5,3) fault, replacement
-^
access 4 - (5,3,4) fault, replacement
-^
access 5 - (5,3,4)