<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)  編輯  收藏


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


    網站導航:
     
    主站蜘蛛池模板: 91免费资源网站入口| 国产在线精品免费aaa片| 两个人的视频高清在线观看免费 | 亚洲va在线va天堂成人| 最近在线2018视频免费观看| 亚洲一区中文字幕久久| 91精品啪在线观看国产线免费| 久久亚洲国产成人亚| 污视频在线免费观看| 亚洲国产精品美女| 国产成人精品免费视频网页大全| 久久综合亚洲色一区二区三区| 免费A级毛片无码A∨免费| 亚洲精品不卡视频| 黄页免费的网站勿入免费直接进入| 亚洲1234区乱码| 亚洲AV无码一区二三区| 国产精品无码永久免费888| 国产亚洲精品a在线观看app| 久久免费观看国产精品| 亚洲成人午夜电影| 在线免费视频一区| 一级毛片在线免费视频| 亚洲国产成人久久精品动漫| 曰曰鲁夜夜免费播放视频| 亚洲欧洲av综合色无码| 久久精品夜色噜噜亚洲A∨| 久久久久国色av免费看| 亚洲最大天堂无码精品区| 亚洲国产精品碰碰| 91视频免费网址| 色婷婷亚洲一区二区三区| 国产专区一va亚洲v天堂| 国产精品免费观看| 人妻无码中文字幕免费视频蜜桃 | 亚洲AV无码一区二区大桥未久| 亚洲综合久久夜AV | 日韩不卡免费视频| 一区二区三区免费在线观看| 亚洲国产超清无码专区| 亚洲国产精品专区在线观看|