1/25/2015
J.SUDARSHANREDDY
 The memory manager of the OS has to be secure ,
robust and well protected . There must be control
such that there are no memory leaks and stack
over flows.
1/25/2015J.SUDARSHANREDDY
MEMORY IEAKS:-
It means attempts to write in the memory
block not allocated to a process or data structure.
1/25/2015J.SUDARSHANREDDY
An memory provides for dynamic memory
allocation and de-allocation :
1/25/2015J.SUDARSHANREDDY
 Fixed blocks allocation
 Dynamic blocks allocation
 Dynamic page allocation
 Dynamic data memory allocation
 Dynamic address relocation
 Multi processor memory allocation
 Memory protection to OS functions
 Memory protection among the task
1/25/2015J.SUDARSHANREDDY
 It having small address space getting a lesser
number of blocks and process with big address
spaces getting a larger number of blocks.
1/25/2015J.SUDARSHANREDDY
 This block is a fixed blocks and then later the
memory manager later allocates variable size
blocks dynamically allocated from a free list of
memory blocks description table at the different
computation phases of process.
1/25/2015J.SUDARSHANREDDY
 Memory has fixed size blocks called pages and
the memory manager MMU allocates the pages
dynamically with a page descriptor table.
1/25/2015J.SUDARSHANREDDY
 The manager dynamically allocates the addresses
initially bound to the relative addresses.
 The memory manager now dynamically changes
only the contents of relocation register . It also
takes into account a limit defining register so that
the relocated addresses are within the limit of
available addresses . This is also called “run time
dynamic address binding”
1/25/2015J.SUDARSHANREDDY
 Memory protections to the OS functions means
that the system call and function call in our space
are distinct . The OS function code , data and
stack are in the protected memory area . It means
that when a user function call attempts to write or
read in the exclusive memory space allocated to
the OS functions , it is blocked and the system
generates an error . The memory of kernel functions
is distinct and can be addressed only by the system
calls . The memory space is called kernel space.
1/25/2015J.SUDARSHANREDDY
 Memory protection to the task means that
a task function call cannot attempt to the
write or read in the exclusive area of
memory space allocated to another task .
The protection increases the memory
requirement for each task and also the
execution time of the code of the task.
1/25/2015J.SUDARSHANREDDY
Thank you
1/25/2015J.SUDARSHANREDDY

MEMORY MANAGEMENT

  • 1.
  • 2.
     The memorymanager of the OS has to be secure , robust and well protected . There must be control such that there are no memory leaks and stack over flows. 1/25/2015J.SUDARSHANREDDY
  • 3.
    MEMORY IEAKS:- It meansattempts to write in the memory block not allocated to a process or data structure. 1/25/2015J.SUDARSHANREDDY
  • 4.
    An memory providesfor dynamic memory allocation and de-allocation : 1/25/2015J.SUDARSHANREDDY
  • 5.
     Fixed blocksallocation  Dynamic blocks allocation  Dynamic page allocation  Dynamic data memory allocation  Dynamic address relocation  Multi processor memory allocation  Memory protection to OS functions  Memory protection among the task 1/25/2015J.SUDARSHANREDDY
  • 6.
     It havingsmall address space getting a lesser number of blocks and process with big address spaces getting a larger number of blocks. 1/25/2015J.SUDARSHANREDDY
  • 7.
     This blockis a fixed blocks and then later the memory manager later allocates variable size blocks dynamically allocated from a free list of memory blocks description table at the different computation phases of process. 1/25/2015J.SUDARSHANREDDY
  • 8.
     Memory hasfixed size blocks called pages and the memory manager MMU allocates the pages dynamically with a page descriptor table. 1/25/2015J.SUDARSHANREDDY
  • 9.
     The managerdynamically allocates the addresses initially bound to the relative addresses.  The memory manager now dynamically changes only the contents of relocation register . It also takes into account a limit defining register so that the relocated addresses are within the limit of available addresses . This is also called “run time dynamic address binding” 1/25/2015J.SUDARSHANREDDY
  • 10.
     Memory protectionsto the OS functions means that the system call and function call in our space are distinct . The OS function code , data and stack are in the protected memory area . It means that when a user function call attempts to write or read in the exclusive memory space allocated to the OS functions , it is blocked and the system generates an error . The memory of kernel functions is distinct and can be addressed only by the system calls . The memory space is called kernel space. 1/25/2015J.SUDARSHANREDDY
  • 11.
     Memory protectionto the task means that a task function call cannot attempt to the write or read in the exclusive area of memory space allocated to another task . The protection increases the memory requirement for each task and also the execution time of the code of the task. 1/25/2015J.SUDARSHANREDDY
  • 12.