lecture22-chapter7 - OperatingSystems Lecture22...

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Operating Systems Lecture 22: Memory Management (cont) Anda Iamnitchi [email protected] 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Types of Partitioning Fixed Partitioning Dynamic Partitioning Simple Paging Simple Segmentation
Image of page 2
Paging Partition memory into small equal fixed size chunks and divide each process into the same size chunks The chunks of a process are called pages The chunks of memory are called frames Operating system maintains a page table for each process Contains the frame location for each page in the process Memory address consist of a page number and offset within the page
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Processes and Frames A.0 A.1 A.2 A.3 C.0 C.1 C.2 C.3 D.0 D.1 D.2 D.3 D.4
Image of page 4
Page Table
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Addresses Logical Reference to a memory location independent of the current assignment of data to memory. Relative Address expressed as a location relative to some known point. Offset is relative to the beginning of current page Physical or Absolute The absolute address or actual location in main memory.
Image of page 6