<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
    數據加載中……

    High level summary of my understanding on Linux Kernel Memory Management

    Here is just the high level summary of my understanding on Linux Kernel Memory Management. I think it can help achieve a better understanding of the book <<understanding linux kernel>>.

    It is said, the memory management is most complex sub-system in linux kernel, at the same time, there aren't too much System Calls for it. Becuase most the the complex mechanism happens trasparently to the user process, such as COW(Copy On Write), On Demand Paging. For user process, to successfully refer to a linear memory address, the following factors are necessary:
        vm_area_struct (Virtual Memory Area, Memory Region) are set up correctly.
        Phsical memory are allocated.
        Page Global Directory, Page Table, and the corresponding entry are correclty set up according to Virtual Memory Area and Phisical Meory.
       
    This three factors can be further simplified as
        Virtual Memory
        Phisical Memory
        Mappting between Virtual Momory and Phisical Memory.

    From user process's perspective, only Virtual Memory is visible, when user process applys for memory, he got virtual memory; phisical memory may not be allocated yet. All these three factors are managed by the kernel, they can be thought of as three resource managed by the kernel. kernel not only need to manage the Virtual Memoty in user address space, but also need to manage Virtual Memory in kernel address space.

    When user process try to use his virtual memory, but the phisical memory is not allocated yet. Page Exception happens, kernel take charge of it and allocate the phisical memory and set up the mapping. user process reexecute the instruction and everything go forward smoothly. It's called On Demand Paging.

    Besides that there are many more concepts, such as Memory mapping, non-linear memory mapping. I will continue this article when I dig into the details.

    posted on 2008-07-29 12:20 InPractice 閱讀(280) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 一区国严二区亚洲三区| 二个人看的www免费视频| 99热在线免费播放| 亚洲成AV人片一区二区密柚| 国产久爱免费精品视频| 久久影院亚洲一区| 拍拍拍无挡视频免费观看1000| 亚洲日韩中文字幕日韩在线| 丁香六月婷婷精品免费观看| 国产亚洲成归v人片在线观看| 国产免费人成视频尤勿视频| 亚洲中文字幕久久精品无码喷水| 免费无码A片一区二三区| 成人自慰女黄网站免费大全| 精品久久久久久亚洲综合网| 亚洲综合激情五月丁香六月| 亚洲欧洲日产国码在线观看| 西西人体44rt高清亚洲| 亚洲中文字幕无码久久2017| 亚洲精品人成无码中文毛片| 免费看小12萝裸体视频国产| 日韩电影免费在线| 我要看免费的毛片| 好吊妞788免费视频播放| 无码日韩精品一区二区免费| 国产免费看JIZZ视频| 午夜免费1000部| 日本zzzzwww大片免费| xxxx日本免费| 91精品国产免费久久久久久青草| 永久免费视频网站在线观看| 亚洲一级免费毛片| 久视频精品免费观看99| 最近在线2018视频免费观看| 国产成人免费在线| 在线天堂免费观看.WWW| 女人张开腿给人桶免费视频| 暖暖免费高清日本一区二区三区| 国产美女无遮挡免费视频网站 | 无遮免费网站在线入口| 丁香花免费高清视频完整版|