Also, sometimes one
program depends on another program. In such a case, instead of loading all the
dependent programs, the CPU links the dependent programs to the most executing
program when required. This mechanism is understood as Dynamic Linking. Let us understand
how the info is being stored within the computing system. Memory Management is
that the process of coordinating and controlling the memory during a computer,
Blocks are assigning portions that are assigned to varied running programs to
optimize the general performance of the system. this system helps keep the
track of each memory location, whether the memory location is allocated to some
process or it's free.
This maintains the count of what proportion of memory are often allocated to a process. Because it retains the track of everything so whenever some memory gets freed or unallocated it updates the status correspondingly. Requirement for Memory Management in OS.
Segmentation is another way of dividing the addressable memory. It is
another schema of memory management, and space generally supports the user's
view of memory. The logical address space is basically the collection of
segments. Each segment has a name and a length.
Basically, a process is divided into segments. Like paging, segmentation
divides or segments the memory. But there is a difference and that is while the
paging divides the memory into variable segments these are then loaded into
logical memory space.