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


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


    網站導航:
     
    主站蜘蛛池模板: 婷婷亚洲综合五月天小说| 亚洲国产精品狼友中文久久久| 亚洲av无码精品网站| 在线免费观看h片| 伊人久久大香线蕉亚洲| 一级特黄aaa大片免费看| 亚洲人成色77777在线观看大| 特色特黄a毛片高清免费观看| 免费一级做a爰片性色毛片| 免费无码午夜福利片 | 亚洲国产夜色在线观看| 久久精品毛片免费观看| 亚洲男女一区二区三区| 97性无码区免费| 亚洲国产精品无码久久| 免费在线黄色网址| 两个人www免费高清视频| 亚洲精品私拍国产福利在线| 免费看h片的网站| 国产精品亚洲综合一区在线观看 | 免费亚洲视频在线观看| 一区视频免费观看| 亚洲AV日韩AV永久无码下载| 亚色九九九全国免费视频| 亚洲AV日韩AV一区二区三曲| 超清首页国产亚洲丝袜| 91大神免费观看| 苍井空亚洲精品AA片在线播放| 亚洲综合色自拍一区| 日韩精品免费一级视频| 亚洲av午夜国产精品无码中文字 | 三级网站免费观看| 亚洲人色大成年网站在线观看| 国产在线19禁免费观看| 免费在线观影网站| 在线综合亚洲中文精品| 国产精品亚洲产品一区二区三区| 7m凹凸精品分类大全免费| 边摸边吃奶边做爽免费视频99| 亚洲电影中文字幕| 免费在线观看污网站|