<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 閱讀(285) 評論(0)  編輯  收藏


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲成av人片在www鸭子| 亚洲精品色婷婷在线影院| 精品亚洲国产成AV人片传媒| 一级毛片免费播放男男| 亚洲精品无码永久在线观看| 国产精品亚洲а∨无码播放不卡| 波多野结衣在线免费视频| 亚洲沟沟美女亚洲沟沟| 成人无码精品1区2区3区免费看| 中文字幕免费在线视频| 亚洲国产电影av在线网址| 亚洲日韩AV一区二区三区四区 | 日本免费一区二区三区最新vr| 女人18毛片特级一级免费视频| 亚洲日本在线观看视频| 亚洲国产精品无码久久九九| 黄网站色视频免费看无下截 | 久久久久久久99精品免费 | 好吊色永久免费视频大全| 免费人成在线观看视频播放| 一级毛片免费不卡| 国产aⅴ无码专区亚洲av| 在线日本高清免费不卡| 在线观看亚洲AV日韩A∨| 日韩高清免费观看| 国产三级在线免费观看| 久久夜色精品国产噜噜噜亚洲AV| 一级一片免费视频播放| 国产日韩亚洲大尺度高清| 亚洲电影免费观看| 亚洲国产美女精品久久久| 亚洲日本在线观看视频| 3344永久在线观看视频免费首页 | 四虎永久成人免费| 国产免费一区二区三区免费视频| 成年人性生活免费视频| 全部在线播放免费毛片| 亚洲综合久久1区2区3区| 国产99视频免费精品是看6| 水蜜桃视频在线观看免费播放高清 | 99无码人妻一区二区三区免费|