Chapter8 2
Chapter8 2
Physical address
- an actual location in main
memory
Base address
- current starting location of
the process
Advantages:
More processes can be maintained in memory
Time is saved because unused pages are not swapped in and out of memory
Disadvantages:
When one page is brought in, another page must be thrown out (page
replacement)
If a page is thrown out just before it is about to be used the OS will have to go get
the page again
Thrashing
When the processor spends most of its time swapping pages rather than
executing instructions
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Segmentation
An executing program may only access data segments for which its
clearance level is lower than or equal to the privilege level of the
data segment
The region can be privileged access only, reserved for use by the OS and
not by applications