Operating System Memory Management and Deadlock Prevention
Operating System Memory Management Fundamentals
The Operating System (OS) is responsible for crucial memory decisions: determining which programs reside in memory, where they are placed, how memory is protected, and what actions to take when memory resources are exhausted.
Parkinson's Law Applied to Computing
Parkinson’s Law states that programs expand to fill the memory available to hold them.
Models for Organizing Memory
Three primary models exist for structuring memory:
- Model A (User on Top, RAM on Bottom):
- Pros: Fast execution.
- Cons: No protection (e.g., used in MS-DOS).
- Model B (ROM on Top, User on Bottom):
- Pros: OS protected.
- Cons: Slow and not flexible.
- Model C (Drivers at Top, User in Middle, RAM at Bottom):
- Pros: Fast and secure.
- Cons: Complex
English with a size of 6.41 KB