Memory Management
Ref:- Operating Systems: Internals and
Design principles by William Stallings
,• Main memory division
• For OS
• For program currently being executed
• Multiprogramming
• Program area further subdivided to accommodate
multiple processes
• Memory management – by OS
, Memory management requirements
• Relocation
• Protection
• Sharing
• Logical organization
• Physical organization
, Relocation
• Process of adjusting program addresses to match the
actual physical addresses where the program resides
when it executed
• Why is relocation needed?
• Active processes need to be swapped in and out of main
memory in order to maximize processor utilization
• When it is swapped back in it would be loaded to a
different memory location