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


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


    網站導航:
     
    主站蜘蛛池模板: 中文在线观看免费网站| 一级午夜免费视频| 日韩免费精品视频| 亚洲最大中文字幕| 免费精品国偷自产在线在线| 亚洲理论片在线观看| 久久国内免费视频| 亚洲人成网站色7799| 国产成人精品123区免费视频| 亚洲av永久无码天堂网| 国产伦一区二区三区免费 | 亚洲人成综合在线播放| 国产在线观看麻豆91精品免费| 亚洲成年人电影在线观看| 在线观看av永久免费| 亚洲av综合日韩| 中文字幕亚洲不卡在线亚瑟| 在线毛片片免费观看| 亚洲春黄在线观看| 国产免费无遮挡精品视频| 精品无码一级毛片免费视频观看| 亚洲AV无码久久精品色欲| 最近中文字幕完整版免费高清 | 亚洲国产精品自在自线观看| 免费在线观看日韩| 日本三级在线观看免费| 亚洲第一成年网站大全亚洲| 免费观看的毛片手机视频| 成人一级免费视频| 亚洲国产精品成人综合色在线婷婷| 日韩成全视频观看免费观看高清| 一级做a爰全过程免费视频毛片 | 亚洲色成人四虎在线观看| 亚洲成a人片在线观看日本麻豆| 国产做国产爱免费视频| 亚洲videosbestsex日本| www国产亚洲精品久久久| 久久久久成人精品免费播放动漫| 亚洲免费福利在线视频| 亚洲精品无码久久久久去q| 特级做A爰片毛片免费69|