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


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


    網站導航:
     
    主站蜘蛛池模板: 国产精品亚洲w码日韩中文| 国产精品亚洲一区二区无码| 精品亚洲成a人片在线观看| 亚洲最大AV网站在线观看| 亚洲一区日韩高清中文字幕亚洲 | 久久综合亚洲色hezyo| 亚洲性无码一区二区三区| 国产午夜亚洲精品国产| 亚洲国产激情在线一区| 亚洲一日韩欧美中文字幕在线| 亚洲性无码一区二区三区| 亚洲精品无码少妇30P| 在线观看免费亚洲| 日本一区二区三区免费高清在线| 污网站在线观看免费| 2022国内精品免费福利视频| 中国内地毛片免费高清| a毛片免费观看完整| 99视频在线精品免费| 成视频年人黄网站免费视频| 97无码免费人妻超级碰碰碰碰| 国产gav成人免费播放视频| 亚洲一级片免费看| 亚洲国产天堂在线观看| 亚洲一级毛片免观看| 久久久久亚洲AV无码去区首| 四虎国产精品永免费| 东方aⅴ免费观看久久av| 19禁啪啪无遮挡免费网站| 成人性生活免费视频| 亚洲精品无码专区久久同性男| 亚洲第一成年男人的天堂| 亚洲二区在线视频| 美女视频免费看一区二区| 国产拍拍拍无码视频免费| 很黄很黄的网站免费的| 四虎免费影院4hu永久免费| 亚洲精品白浆高清久久久久久| 亚洲成无码人在线观看| 亚洲.国产.欧美一区二区三区| a级在线观看免费|