1 / 8

MEMORY MANAGEMENT in Linux Kernel

MEMORY MANAGEMENT in Linux Kernel. Kyuseo Park Amy Sha Yuchao Ma. 1.Gerenal Function. What it needs to do?. keeps track of the status of each memory location determines ways to dynamically allocate space of memory among competing processes

ouida
Download Presentation

MEMORY MANAGEMENT in Linux Kernel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MEMORY MANAGEMENTin Linux Kernel Kyuseo Park Amy Sha Yuchao Ma

  2. 1.Gerenal Function What it needs to do? • keeps track of the status of each memory location • determines ways to dynamically allocate space of memory among competing processes • updates and reuses the space no longer needed

  3. 2.Divide and Conquer WHO is assigned to an address space, or to make a request for new address space. WHICH address space is used or just freed WHAT operations the memory region has WHERE to store those information

  4. Who : The Process process descriptor: a task_structtype structure whose fields contain all the information related to a single process.

  5. Which Address Space memory descriptor : A mm_structtype object contains all information related to the process address space. Memory regions are intervals of linear addresses. Linux implements a memory region by means of an object of type vm_area_struct.

  6. What to do vm_operations_struct data structure stores the methods of the memory region.

  7. Where : Physical Pages Each physical page in the system has a structpage associated with it to keep track of whatever it is we are using the page for at the moment. All information needed by the filesystem to handle a file is included in a data structure called an inode. Each file has its own inode, which the filesystem uses to identify the file.

  8. The end Thank you! 11/02/2012

More Related