OS 22bcs114
OS 22bcs114
MANAGEMENT
DHIVYASREE R
22BCS114
||- BSc CS”B”
MEMORY MANAGEMENT
09/29/2023
What is Memory Management?
09/29/2023
Static and Dynamic Linking
Static Linking: In static linking, the linker combines all necessary program
modules into a single executable program. So there is no runtime dependency.
Some operating systems support only static linking, in which system language
libraries are treated like any other object module.
• Dynamic Linking: The basic concept of dynamic linking is similar to
dynamic loading. In dynamic linking, “Stub” is included for each
appropriate library routine reference. A stub is a small piece of code. When
the stub is executed, it checks whether the needed routine is already in
memory or not. If not available then the program loads the routine into
memory.
09/29/2023
Swapping
09/29/2023
Advantages of Memory Management
It is a simple management approach
09/29/2023
Thank you
09/29/2023 9