cs552-s10-memory_overview

cs552-s10-memory_overview - Memory Management Overview...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Click to edit Master subtitle style 1/20/11 Memory Management Overview Operating Systems CS 552 Spring 2010 Kenneth Chiu
Background image of page 1

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

View Full DocumentRight Arrow Icon
1/20/11 Memory management Some material that you will need for the assignment
Background image of page 2
1/20/11 Virtual Memory A process has a range of possible memory addresses. Typically? 0-2GB, 4G, etc. What happens when you write or read from an address? If it is not mapped, a page fault, then OS finds some disk space for it. Page/swap can be huge, can be many GB. Why do you care about how 0 2 GB
Background image of page 3

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

View Full DocumentRight Arrow Icon
1/20/11 Memory Regions Regions Stack is used for function calls. Heap is used for dynamically needed memory. The “break” is maintained by the OS, and is the upper boundary of the heap. Data is for memory that is “static”, like global variables, etc. Stack Invali d Heap Code (Text) Data The “break”
Background image of page 4
Threads What does the address space of a threaded program look like? Is the heap shared?
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 01/20/2011.

Page1 / 10

cs552-s10-memory_overview - Memory Management Overview...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online