Chapter 8: Memory Management

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Chapter 8: Memory Management!

Chapter 8: Memory Management!

Background" Swapping " Contiguous Allocation" Paging" Segmentation" Segmentation with Paging"

Operating System Concepts!

8.2!

Silberschatz, Galvin and Gagne ?2005!

Background!

Program must be brought into memory and placed within a process for it to be run"

" Input queue or job queue ? collection of processes on the disk

that are waiting to be brought into memory to run the program" " User programs go through several steps before being run"

Operating System Concepts!

8.3!

Silberschatz, Galvin and Gagne ?2005!

Binding of Instructions and Data to Memory!

Address binding of instructions and data to memory addresses can happen at three different stages"

Compile time: If memory location known a priori, absolute code can be generated; must recompile code if starting location changes"

Load time: Must generate relocatable code if memory location is not known at compile time"

Execution time: Binding delayed until run time if the process can be moved during its execution from one memory segment to another. Need hardware support for address maps (e.g., base and limit registers). "

Operating System Concepts!

8.4!

Silberschatz, Galvin and Gagne ?2005!

Multistep Processing of a User Program!

Operating System Concepts!

8.5!

Silberschatz, Galvin and Gagne ?2005!

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download