ULK关于永久内核映射计数器的解释和源代码以及《深入linux内核架构》上讲的都不一样?
时间:2010-11-25
来源:互联网
/*
* Virtual_count is not a pure "count".
在源代码(我的是2.6.25)
* 0 means that it is not mapped, and has not been mapped
* since a TLB flush - it is usable.
* 1 means that there are no users, but it has been mapped
* since the last TLB flush - so we can't use it. //没有内核成分使用这个页表项,但是从上次刷新TLB以来,它已经被映射。
* n means that there are (n-1) current users of it.
*/
但是在ULK(第三版,不过这里的内容和第二版一样)中这样说:
The corresponding Page Table entry does not map any high-memory page frame, but it cannot be used because the corresponding TLB entry has not been flushed since its last usage。(对应的页表项没有映射任何高端内存页框,但是它不能被使用。。。)
请各位大侠提携小弟,小弟不甚感激,哦,是不胜感激。
* Virtual_count is not a pure "count".
在源代码(我的是2.6.25)
* 0 means that it is not mapped, and has not been mapped
* since a TLB flush - it is usable.
* 1 means that there are no users, but it has been mapped
* since the last TLB flush - so we can't use it. //没有内核成分使用这个页表项,但是从上次刷新TLB以来,它已经被映射。
* n means that there are (n-1) current users of it.
*/
但是在ULK(第三版,不过这里的内容和第二版一样)中这样说:
The corresponding Page Table entry does not map any high-memory page frame, but it cannot be used because the corresponding TLB entry has not been flushed since its last usage。(对应的页表项没有映射任何高端内存页框,但是它不能被使用。。。)
请各位大侠提携小弟,小弟不甚感激,哦,是不胜感激。
作者: xumin330774233 发布时间: 2010-11-25
深入理解Linux架构,看的云里雾里的,个人感觉还是不如ulk和情景分析经典
作者: dreamice 发布时间: 2010-11-25
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28