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


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


    網站導航:
     
    主站蜘蛛池模板: 免费一级国产生活片| 国外成人免费高清激情视频| 久久伊人亚洲AV无码网站| 亚洲欧美在线x视频| 日本最新免费不卡二区在线| 亚洲国产AV无码一区二区三区 | 无码人妻精品中文字幕免费| 久久亚洲精品中文字幕三区| 好紧我太爽了视频免费国产| 国产成人精品日本亚洲| 久久精品一本到99热免费| 亚洲美女精品视频| 国产免费av片在线看| 亚洲欧美黑人猛交群| 四虎永久免费观看| 国产免费牲交视频免费播放| 亚洲av午夜福利精品一区| 91制片厂制作传媒免费版樱花| 亚洲精品国产成人中文| 免费看韩国黄a片在线观看| 亚洲AV第一成肉网| 亚洲国产精品无码久久九九| 青青操在线免费观看| 亚洲日本国产乱码va在线观看| 人禽杂交18禁网站免费| 美女视频黄频a免费| 亚洲精品无码鲁网中文电影| 最近免费最新高清中文字幕韩国| 亚洲喷奶水中文字幕电影| 手机看片久久国产免费| 国产线视频精品免费观看视频| 亚洲人成在线播放网站岛国| 成年美女黄网站18禁免费| 黄色a三级免费看| 久久亚洲国产视频| 尤物永久免费AV无码网站| 免费看黄的成人APP| 亚洲综合丁香婷婷六月香| 久久亚洲精品无码播放| 久久免费看黄a级毛片| 美女露100%胸无遮挡免费观看|