{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter07-OS7e - Operating Systems Internals andDesign...

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

View Full Document Right Arrow Icon
Chapter 7 Memory Management Seventh Edition William Stallings Operating  Systems: Internals  and Design  Principles
Image of page 1

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

View Full Document Right Arrow Icon
I cannot guarantee that I carry all the facts in my mind. Intense mental concentration has a curious way of blotting out what has passed. Each of my cases displaces the last, and Mlle. Carère has blurred my recollection of Baskerville Hall. Tomorrow some other little problem may be submitted to my notice which will in turn dispossess the fair French lady and the infamous Upwood. THE HOUND OF THE BASKERVILLES, Arthur Conan Doyle Operating Systems: Operating Systems: Internals and Design Principles Internals and Design Principles
Image of page 2
Definition Memory management is the process of   allocating primary memory to user programs reclaiming that memory when it is no longer  needed protecting each user’s memory area from other  user programs; i.e., ensuring that each  program only references memory locations  that have been allocated to it.
Image of page 3

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

View Full Document Right Arrow Icon
Requirements  In order to manage memory effectively the  OS must have Memory allocation policies Methods to track the status of memory  locations (free or allocated) Policies for preempting memory from one  process to allocate to another
Image of page 4
Memory  Management  Terms
Image of page 5

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

View Full Document Right Arrow Icon
Memory Management  Memory Management  Requirements Requirements Memory management is intended to satisfy the  following requirements: Relocation Protection Sharing Logical organization Physical organization
Image of page 6
Relocation Relocation Relocation is the process of adjusting program  addresses to match the actual physical addresses  where the program resides when it executes Why is relocation needed? Programmer/translator don’t know which other  programs will be memory resident when  the program executes
Image of page 7

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

View Full Document Right Arrow Icon
Relocation Relocation Why is relocation needed? (continued)
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern