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


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


    網站導航:
     
    主站蜘蛛池模板: 欧洲精品成人免费视频在线观看| 一级A毛片免费观看久久精品| 99精品视频免费在线观看| 久久久久亚洲精品无码网址| 免费人人潮人人爽一区二区| 免费国产真实迷j在线观看| 青青视频免费在线| 婷婷综合缴情亚洲狠狠尤物| 国产精品亚洲а∨天堂2021| 免费看男女下面日出水视频 | 精品无码一区二区三区亚洲桃色| 99国产精品免费视频观看| 久久精品国产亚洲AV无码娇色| 亚洲高清免费在线观看| 亚洲免费观看在线视频| 好男人视频在线观看免费看片| 亚洲精品无码成人片久久不卡| 国产一级一片免费播放| 一个人看的www免费在线视频| 亚洲国产成人片在线观看无码| 国产高清不卡免费视频| 亚洲一区二区三区不卡在线播放| 成年女性特黄午夜视频免费看| 午夜成人无码福利免费视频| 亚洲AV无码一区二区三区DV| 国产成人精品免费视| 国产成人久久精品亚洲小说| 中文字幕亚洲无线码a| 精品无码国产污污污免费网站| 亚洲熟妇AV乱码在线观看| 亚洲综合色成在线播放| 污污网站18禁在线永久免费观看| wwwxxx亚洲| 亚洲成a人在线看天堂无码| 久久99精品视免费看| 亚洲欧美国产精品专区久久| 国产精品V亚洲精品V日韩精品 | 无码精品人妻一区二区三区免费看 | 亚洲欧美日韩中文无线码| 久久精品国产精品亚洲下载| 国产无人区码卡二卡三卡免费 |