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

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

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

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

    My confusion about kernel and corresponding clarification.

    There are many questions coming into my mind when I read the Linux kernel book and source code. As time goes by, I become more knowledgeable than before and can address those questions by myself, here is the first question addressed by myself.

     

    Q: why kernel have to map the high memory in kernel space, why not just allocate the high memory and only map it in user process.

    A: Because kernel also need to access the high memory before it returned the allocated memory to user process. For example, kernel must zero the page or initialized the page for security reason. Please refer to linux device driver page 9.

    Q: why not let the clib zero the page or initialize it, it saves the kernel's effort and simplifies the kernel.

    A: besides Requesting memory through clib, user program can also request memory through direct System call, in this situation, the security is not guaranteed, the information in memory will be leaked.

    posted on 2008-10-08 14:40 InPractice 閱讀(158) 評論(0)  編輯  收藏


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


    網站導航:
     
    主站蜘蛛池模板: 九九视频高清视频免费观看| 国产亚洲精品仙踪林在线播放| A毛片毛片看免费| 免费在线观看你懂的| 美女羞羞视频免费网站| 免费人成年轻人电影| 国产大陆亚洲精品国产| 免费大黄网站在线观看| 亚洲第一视频在线观看免费| 亚洲精品无码日韩国产不卡?V| 成人a毛片视频免费看| 亚洲中文字幕无码一区| 免费国产成人午夜在线观看| 久久久久亚洲AV无码麻豆| 黄页网站在线观看免费高清| 亚洲综合一区无码精品| 日本二区免费一片黄2019| 白白色免费在线视频| 国产亚洲精品看片在线观看| 暖暖在线视频免费视频| 亚洲码一区二区三区| 在线中文高清资源免费观看| 免费的黄色的网站| 久久精品国产亚洲| 国产成人免费网站| 在线观看亚洲网站| 亚洲精品少妇30p| 99久久这里只精品国产免费| 久久亚洲AV成人无码国产电影| 亚洲精品蜜桃久久久久久| h视频在线观看免费网站| 精品国产亚洲一区二区三区在线观看 | 暖暖免费中文在线日本| 国产亚洲精品自在线观看| 中文字幕在线观看免费视频| 亚洲欧美国产国产一区二区三区| 亚洲精品在线视频| 亚洲黄色片免费看| 免费视频成人国产精品网站| 99亚洲精品高清一二区| 又黄又爽一线毛片免费观看|